XK2/X4: Stunt flag for the Sky Viper Vector

This commit is contained in:
pascallanger
2026-07-14 19:46:38 +02:00
parent e5f9f8c840
commit 174efa332b
3 changed files with 12 additions and 7 deletions

View File

@@ -86,7 +86,8 @@ static void __attribute__((unused)) XK2_send_packet()
packet[5] |= 0x10; //Gyro off (senior mode)
else if(Channel_data[CH6] > CHANNEL_MIN_COMMAND)
packet[5] |= 0x08; //3D
//Requiest telemetry flag
packet[5] |= GET_FLAG(CH9_SW, 0x04); //Sky Viper Vector stunt flag
//Request telemetry flag
packet[6] = 0x01;
//RXID checksum
packet[7] = crc8; //Sum RX_ID[0..2]