New type swsrc_t introduced

This commit is contained in:
Bertrand Songis
2015-08-28 14:47:07 +02:00
parent 3920cc6919
commit ef56bf3cb4
8 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -552,10 +552,10 @@ void evalLogicalSwitches(bool isCurrentPhase)
#endif
swarnstate_t switches_states = 0;
int8_t getMovedSwitch()
swsrc_t getMovedSwitch()
{
static tmr10ms_t s_move_last_time = 0;
int8_t result = 0;
swsrc_t result = 0;
#if defined(PCBTARANIS)
for (int i=0; i<NUM_SWITCHES; i++) {