mirror of
https://github.com/opentx/opentx.git
synced 2025-07-22 07:45:14 +03:00
Merge pull request #1102 from opentx/bsongis/Switches_refactoring
Switches code moved to a separate file
This commit is contained in:
commit
d047133e64
9 changed files with 618 additions and 571 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue