[X9E/X7D] Rotary encoder navigation speed implemented (#3724)
This commit is contained in:
committed by
Andre Bernet
parent
3cb64d984a
commit
1d735f2bd3
@@ -45,7 +45,7 @@ void drawPotsBars()
|
||||
}
|
||||
}
|
||||
|
||||
void menuCommonCalib(uint8_t event)
|
||||
void menuCommonCalib(event_t event)
|
||||
{
|
||||
for (uint8_t i=0; i<NUM_STICKS+NUM_POTS+NUM_SLIDERS; i++) { // get low and high vals for sticks and trims
|
||||
int16_t vt = anaIn(i);
|
||||
@@ -196,7 +196,7 @@ void menuCommonCalib(uint8_t event)
|
||||
#endif
|
||||
}
|
||||
|
||||
void menuRadioCalibration(uint8_t event)
|
||||
void menuRadioCalibration(event_t event)
|
||||
{
|
||||
check_simple(STR_MENUCALIBRATION, event, MENU_RADIO_CALIBRATION, menuTabGeneral, DIM(menuTabGeneral), 0);
|
||||
menuCommonCalib(READ_ONLY() ? 0 : event);
|
||||
@@ -205,7 +205,7 @@ void menuRadioCalibration(uint8_t event)
|
||||
}
|
||||
}
|
||||
|
||||
void menuFirstCalib(uint8_t event)
|
||||
void menuFirstCalib(event_t event)
|
||||
{
|
||||
if (event == EVT_KEY_BREAK(KEY_EXIT) || reusableBuffer.calib.state == CALIB_FINISHED) {
|
||||
menuCalibrationState = CALIB_START;
|
||||
|
||||
Reference in New Issue
Block a user