mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 23:08:12 +00:00
Fix Failsafe compilation
This commit is contained in:
parent
103be7f6e0
commit
aee92737ca
@ -653,7 +653,9 @@ uint8_t Update_All()
|
||||
Channel_data[i]=val;
|
||||
}
|
||||
PPM_FLAG_off; // wait for next frame before update
|
||||
PPM_failsafe();
|
||||
#ifdef FAILSAFE_ENABLE
|
||||
PPM_failsafe();
|
||||
#endif
|
||||
update_channels_aux();
|
||||
INPUT_SIGNAL_on; // valid signal received
|
||||
last_signal=millis();
|
||||
@ -694,7 +696,7 @@ uint8_t Update_All()
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_PPM
|
||||
#if defined(FAILSAFE_ENABLE) && defined(ENABLE_PPM)
|
||||
void PPM_failsafe()
|
||||
{
|
||||
static uint8_t counter=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user