WFLY2: add failsafe (hold/no pulse not available yet)

This commit is contained in:
Pascal Langer
2020-12-16 16:14:45 +01:00
parent 6d38dd2d7a
commit 5ac41fdd15
13 changed files with 42 additions and 28 deletions

View File

@@ -196,7 +196,7 @@ static void __attribute__((unused)) MLINK_build_data_packet()
//Channels 426..1937..3448
for(uint8_t i=0;i<3;i++)
{
uint16_t tmp=ch[i]<16 ? convert_channel_16b_nolimit(ch[i],426,3448) : 0x0000;
uint16_t tmp=ch[i]<16 ? convert_channel_16b_nolimit(ch[i],426,3448,false) : 0x0000;
packet[i*2+1]=tmp>>8;
packet[i*2+2]=tmp;
}