File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919#define VERSION_MAJOR 1
2020#define VERSION_MINOR 3
2121#define VERSION_REVISION 4
22- #define VERSION_PATCH_LEVEL 67
22+ #define VERSION_PATCH_LEVEL 68
2323
2424#define MODE_SERIAL 0
2525
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ static void __attribute__((unused)) XK_send_packet()
122122 else
123123 if (Channel_data[CH5 ] > CHANNEL_MIN_COMMAND )
124124 packet[10 ] = 0x01 ; // 3D-Mode
125- packet[10 ] |= GET_FLAG (CH6_SW ,0x08 ); // Low/High rate
125+ packet[10 ] |= GET_FLAG (CH6_SW ,0xFC ); // Low/High rate
126126 packet[11 ] = GET_FLAG (CH7_SW ,0x10 ) // Back Flip - momentary switch
127127 |GET_FLAG (CH8_SW ,0x20 ) // Left Roll - momentary switch
128128 |GET_FLAG (CH9_SW ,0x40 ) // Right Roll - momentary switch
@@ -134,10 +134,10 @@ static void __attribute__((unused)) XK_send_packet()
134134 crc+=packet[i];
135135 packet[15 ]=crc;
136136
137- // debug("C: %02X, P:",hopping_frequency[rf_ch_num]);
138- // for(uint8_t i=0; i<XK_PAYLOAD_SIZE; i++)
139- // debug(" %02X",packet[i]);
140- // debugln("");
137+ debug (" C: %02X, P:" ,hopping_frequency[rf_ch_num]);
138+ for (uint8_t i=0 ; i<XK_PAYLOAD_SIZE ; i++)
139+ debug (" %02X" ,packet[i]);
140+ debugln (" " );
141141
142142 // Send
143143 XN297_SetPower (); // Set tx_power
You can’t perform that action at this time.
0 commit comments