1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

A couple of changes on top of projectkkglider branch

This commit is contained in:
bsongis 2014-05-19 14:52:07 +02:00
parent dffb5a7a79
commit 1a7ff9239d
3 changed files with 277 additions and 209 deletions

View file

@ -671,7 +671,6 @@ 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
@ -696,8 +695,14 @@ getvalue_t getValue(uint8_t i);
bool getSwitch(int8_t swtch);
void logicalSwitchesTimerTick();
void logicalSwitchesReset();
void evalLogicalSwitches();
#if defined(CPUARM)
void evalLogicalSwitches(bool isCurrentPhase=true);
void logicalSwitchesCopyState();
#define LS_RECURSIVE_EVALUATION_RESET()
#else
#define LS_RECURSIVE_EVALUATION_RESET() s_last_switch_used = 0
#endif
#if defined(PCBTARANIS)
void getSwitchesPosition(bool startup);