Skip to content

Commit 0846a00

Browse files
authored
Update XK2_ccnrf.ino
add stunt flag for SkyViper Vector.
1 parent bf38415 commit 0846a00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Multiprotocol/XK2_ccnrf.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ static void __attribute__((unused)) XK2_send_packet()
8686
packet[5] |= 0x10; //Gyro off (senior mode)
8787
else if(Channel_data[CH6] > CHANNEL_MIN_COMMAND)
8888
packet[5] |= 0x08; //3D
89+
packet[5] |= GET_FLAG(CH9_SW, 0x04) ; //SkyViper Vector stunt flag
90+
//SkyViper Vector: Telemetry A1 value is changed from 8.4v to 7.1v when the battery voltage is less than 3.3v
8991
//Requiest telemetry flag
9092
packet[6] = 0x01;
9193
//RXID checksum
@@ -428,4 +430,4 @@ P[6] = 00 telemetry nok
428430
01 telemetry ok but sometimes switch to 1 also when telemetry is nok...
429431
P[7] = C8 -> sum RX_ID[0..2]
430432
P[8] = sum P[0..7] + TX_ID[0] - TX_ID[1] + TX_ID[2] + 21 +10
431-
*/
433+
*/

0 commit comments

Comments
 (0)