fix: auto-switch timeout raised to 1s (#2433)

Fixes #2418
This commit is contained in:
Raphael Coeffic
2022-10-01 20:22:32 +10:00
committed by GitHub
parent 491e89154c
commit 9c951224c7
+1 -1
View File
@@ -689,7 +689,7 @@ swsrc_t getMovedSwitch()
}
}
if ((tmr10ms_t)(get_tmr10ms() - s_move_last_time) > 10)
if ((tmr10ms_t)(get_tmr10ms() - s_move_last_time) > 100)
result = 0;
s_move_last_time = get_tmr10ms();