Bug found in Pots Warning (Auto mode)
This commit is contained in:
@@ -2460,9 +2460,9 @@ void opentxClose()
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
if ((g_model.nPotsToWarn >> 6) == 2) {
|
||||
for (uint8_t i=0; i<NUM_POTS ; i++)
|
||||
for (uint8_t i=0; i<NUM_POTS; i++)
|
||||
if (!(g_model.nPotsToWarn & (1 << i)))
|
||||
g_model.potPosition[i] = getValue(MIXSRC_FIRST_POT+i) >> 3;
|
||||
SAVE_POT_POSITION(i);
|
||||
eeDirty(EE_MODEL);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user