Switches code moved to a separate file

This commit is contained in:
bsongis
2014-05-09 18:05:29 +02:00
parent c3859dc308
commit 8b2769a734
9 changed files with 618 additions and 571 deletions
+7 -1
View File
@@ -666,7 +666,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();