Failsafe improvement

This commit is contained in:
pascallanger committed 2019-11-07 02:30:03 +01:00
1 parent 928641f535
commit c5d4e8c191
4 files changed
+6 -1

No files matched your search

+3
View File
@@ -336,7 +336,10 @@ uint16_t ReadAFHDS2A()
{
#ifdef FAILSAFE_ENABLE
if(!(packet_counter % 1569) && IS_FAILSAFE_VALUES_on)
{
packet_type = AFHDS2A_PACKET_FAILSAFE;
FAILSAFE_VALUES_off;
}
else
#endif
packet_type = AFHDS2A_PACKET_STICKS; // todo : check for settings changes