Fixed FTBFS with clang.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 3 years ago
parent 9755721093
commit c073cbf71a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -797,14 +797,14 @@ void DvbStream::rotorCommand( int cmd, int n1, int n2, int n3 )
{ { 0xe0, 0x31, 0x66, 0x00, 0x00, 0x00 }, 3 }, //2 Set East Limit
{ { 0xe0, 0x31, 0x67, 0x00, 0x00, 0x00 }, 3 }, //3 Set West Limit
{ { 0xe0, 0x31, 0x68, 0x00, 0x00, 0x00 }, 4 }, //4 Drive Motor East continously
{ { 0xe0, 0x31, 0x68,256-n1,0x00, 0x00 }, 4 }, //5 Drive Motor East nn steps
{ { 0xe0, 0x31, 0x69,256-n1,0x00, 0x00 }, 4 }, //6 Drive Motor West nn steps
{ { 0xe0, 0x31, 0x68, (__u8)(256-n1), 0x00, 0x00 }, 4 }, //5 Drive Motor East nn steps
{ { 0xe0, 0x31, 0x69, (__u8)(256-n1), 0x00, 0x00 }, 4 }, //6 Drive Motor West nn steps
{ { 0xe0, 0x31, 0x69, 0x00, 0x00, 0x00 }, 4 }, //7 Drive Motor West continously
{ { 0xe0, 0x31, 0x6a, n1, 0x00, 0x00 }, 4 }, //8 Store nn
{ { 0xe0, 0x31, 0x6b, n1, 0x00, 0x00 }, 4 }, //9 Goto nn
{ { 0xe0, 0x31, 0x6f, n1, n2, n3 }, 4}, //10 Recalculate Position
{ { 0xe0, 0x31, 0x6a, (__u8)(n1), 0x00, 0x00 }, 4 }, //8 Store nn
{ { 0xe0, 0x31, 0x6b, (__u8)(n1), 0x00, 0x00 }, 4 }, //9 Goto nn
{ { 0xe0, 0x31, 0x6f, (__u8)(n1), (__u8)(n2), (__u8)(n3) }, 4}, //10 Recalculate Position
{ { 0xe0, 0x31, 0x6a, 0x00, 0x00, 0x00 }, 4 }, //11 Enable Limits
{ { 0xe0, 0x31, 0x6e, n1, n2, 0x00 }, 5 }, //12 Gotoxx
{ { 0xe0, 0x31, 0x6e, (__u8)(n1), (__u8)(n2), 0x00 }, 5 }, //12 Gotoxx
{ { 0xe0, 0x10, 0x38, 0xF4, 0x00, 0x00 }, 4 } //13 User
};

Loading…
Cancel
Save