mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Update TFHSS_cc2500.ino
This commit is contained in:
1 parent
c605e49334
commit
932567e790
1 file changed
+1
-1
@@ -338,7 +338,7 @@ static void __attribute__((unused)) TFHSS_surface_packet()
|
|||||||
#ifdef FAILSAFE_ENABLE
|
#ifdef FAILSAFE_ENABLE
|
||||||
uint16_t v = Failsafe_data[c];
|
uint16_t v = Failsafe_data[c];
|
||||||
if(IS_FAILSAFE_VALUES_on && v != FAILSAFE_CHANNEL_HOLD && v != FAILSAFE_CHANNEL_NOPULSES)
|
if(IS_FAILSAFE_VALUES_on && v != FAILSAFE_CHANNEL_HOLD && v != FAILSAFE_CHANNEL_NOPULSES)
|
||||||
+ { // F/S: code 4 without the hold flag (4PM Plus)
|
{ // Failsafe without the hold flag (4PM Plus)
|
||||||
f |= 0x04;
|
f |= 0x04;
|
||||||
fs = 0x00;
|
fs = 0x00;
|
||||||
ch[c] = TFHSS_value(c, true);
|
ch[c] = TFHSS_value(c, true);
|
||||||
|
|||||||
Reference in new issue
Block a user