Skip to content

Commit 90dcf03

Browse files
committed
MoFly try 1 for Rate
1 parent c223fb1 commit 90dcf03

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Multiprotocol/Multiprotocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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

Multiprotocol/XK_ccnrf.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)