mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Failsafe improvement
This commit is contained in:
1 parent
928641f535
commit
c5d4e8c191
4 files changed
+6
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user