mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 01:05:10 +03:00
Gtests KO
This commit is contained in:
parent
1a7ff9239d
commit
49a4d5ecb1
4 changed files with 29 additions and 16 deletions
|
@ -671,6 +671,7 @@ enum StartupWarningStates {
|
|||
#endif
|
||||
|
||||
extern uint8_t s_current_mixer_flight_mode;
|
||||
extern uint8_t s_last_phase;
|
||||
|
||||
#if defined(CPUARM)
|
||||
#define bitfield_channels_t uint32_t
|
||||
|
@ -698,9 +699,13 @@ void logicalSwitchesReset();
|
|||
|
||||
#if defined(CPUARM)
|
||||
void evalLogicalSwitches(bool isCurrentPhase=true);
|
||||
void logicalSwitchesCopyState();
|
||||
void logicalSwitchesCopyState(uint8_t src, uint8_t dst);
|
||||
#define LS_RECURSIVE_EVALUATION_RESET()
|
||||
#else
|
||||
#define evalLogicalSwitches(xxx)
|
||||
#define GETSWITCH_RECURSIVE_TYPE uint16_t
|
||||
extern volatile GETSWITCH_RECURSIVE_TYPE s_last_switch_used;
|
||||
extern volatile GETSWITCH_RECURSIVE_TYPE s_last_switch_value;
|
||||
#define LS_RECURSIVE_EVALUATION_RESET() s_last_switch_used = 0
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue