diff --git a/radio/src/gui/menu_general.cpp b/radio/src/gui/menu_general.cpp index fb8935a28..7dec9d6c8 100644 --- a/radio/src/gui/menu_general.cpp +++ b/radio/src/gui/menu_general.cpp @@ -1284,7 +1284,7 @@ void menuGeneralHardware(uint8_t event) } #endif -#define XPOT_DELTA 5 +#define XPOT_DELTA 7 void menuCommonCalib(uint8_t event) { @@ -1305,7 +1305,7 @@ void menuCommonCalib(uint8_t event) else { if (reusableBuffer.calib.xpotsCalib[idx].lastCount < 255) reusableBuffer.calib.xpotsCalib[idx].lastCount++; } - if (reusableBuffer.calib.xpotsCalib[idx].lastCount == 8/*80ms*/) { + if (reusableBuffer.calib.xpotsCalib[idx].lastCount == 20/*200ms*/) { int16_t position = reusableBuffer.calib.xpotsCalib[idx].lastPosition; bool found = false; for (int j=0; jsteps[j] = (reusableBuffer.calib.xpotsCalib[idx].steps[j+1] + reusableBuffer.calib.xpotsCalib[idx].steps[j]) >> 5; } } + else { + g_eeGeneral.potsType &= ~(1<