BUGSMINI flip issue fix

This commit is contained in:
Pascal Langer 2019-03-11 10:03:16 +01:00
parent b1ac10a4c4
commit c250c91ab4
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ static void __attribute__((unused)) BUGSMINI_send_packet(uint8_t bind)
packet[9] = 0x20 | (elevator << 7);
packet[10]= 0x20 | (rudder << 7);
packet[11]= 0x40 | (throttle << 7);
packet[12]= 0x80 | (packet[12] ^ 0x40) // bugs 3 H doesn't have 0x80 ?
packet[12]= 0x80 | ((packet[12] ^ 0x40) & 0x40) // bugs 3 H doesn't have 0x80 ?
| BUGSMINI_FLAG_MODE
| GET_FLAG(BUGSMINI_CH_SW_PICTURE, BUGSMINI_FLAG_PICTURE)
| GET_FLAG(BUGSMINI_CH_SW_VIDEO, BUGSMINI_FLAG_VIDEO);

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 28
#define VERSION_PATCH_LEVEL 29
//******************
// Protocols