Esky150: add sub protocols 4CH and 7CH

This commit is contained in:
pascallanger committed 2019-11-28 17:01:33 +01:00
1 parent 6a7497cdf8
commit c803eeb26a
6 files changed
+24 -8

No files matched your search

+2 -2
View File
@@ -92,8 +92,8 @@ static void __attribute__((unused)) ESKY150_send_packet()
uint8_t flight_mode=0;
uint16_t aux_ch6=0;
uint8_t aux_ch7=0;
if(option==1)
{
if(sub_protocol)
{ // 7 channels
flight_mode=ESKY150_convert_2bit_channel(CH5);
aux_ch6=convert_channel_16b_limit(CH6,1000,2000);
aux_ch7=ESKY150_convert_2bit_channel(CH7);