mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:38:10 +00:00
Fix Failsafe compilation
This commit is contained in:
parent
63e6590b65
commit
b156f66146
@ -679,7 +679,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();
|
||||
@ -721,7 +723,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