switch warning fix

This commit is contained in:
eshifri
2021-07-31 07:57:47 +02:00
committed by Raphael Coeffic
parent 5d25ac8c86
commit fb3ac5e0ba
+1 -1
View File
@@ -518,7 +518,7 @@ swsrc_t getMovedSwitch()
static tmr10ms_t s_move_last_time = 0;
swsrc_t result = 0;
#if defined(PCBFRSKY)
#if defined(PCBFRSKY) || defined(PCBNV14)
// Switches
for (int i = 0; i < NUM_SWITCHES; i++) {
if (SWITCH_EXISTS(i)) {