[all] Sticky virtual switches should be reset when ResetFlight function is called
This commit is contained in:
@@ -2155,6 +2155,8 @@ void resetAll()
|
|||||||
for (uint8_t i=0; i<NUM_CSW; i++)
|
for (uint8_t i=0; i<NUM_CSW; i++)
|
||||||
csLastValue[i] = CS_LAST_VALUE_INIT;
|
csLastValue[i] = CS_LAST_VALUE_INIT;
|
||||||
|
|
||||||
|
s_last_switch_value = 0;
|
||||||
|
|
||||||
RESET_THR_TRACE();
|
RESET_THR_TRACE();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user