Merge pull request #1102 from opentx/bsongis/Switches_refactoring
Switches code moved to a separate file
This commit is contained in:
+7
-1
@@ -672,7 +672,13 @@ void perMain();
|
||||
NOINLINE void per10ms();
|
||||
|
||||
getvalue_t getValue(uint8_t i);
|
||||
bool getSwitch(int8_t swtch);
|
||||
bool getSwitch(int8_t swtch);
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
void getSwitchesPosition(bool startup);
|
||||
#else
|
||||
#define getSwitchesPosition(...)
|
||||
#endif
|
||||
|
||||
extern swstate_t switches_states;
|
||||
int8_t getMovedSwitch();
|
||||
|
||||
Reference in New Issue
Block a user