fix: only display PPM multiplier for trainer when PPM is used (#5649)
This commit is contained in:
@@ -97,9 +97,11 @@ void menuRadioTrainer(event_t event)
|
||||
}
|
||||
|
||||
attr = (menuVerticalPosition==HEADER_LINE+4) ? blink : 0;
|
||||
lcdDrawTextAlignedLeft(y, STR_MULTIPLIER);
|
||||
lcdDrawNumber(LEN_MULTIPLIER*FW+3*FW, y, g_eeGeneral.PPM_Multiplier+10, attr|PREC1|RIGHT);
|
||||
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.PPM_Multiplier, -10, 40);
|
||||
if (g_model.trainerData.mode == TRAINER_MODE_MASTER_TRAINER_JACK) {
|
||||
lcdDrawTextAlignedLeft(y, STR_MULTIPLIER);
|
||||
lcdDrawNumber(LEN_MULTIPLIER * FW + 3 * FW, y, g_eeGeneral.PPM_Multiplier + 10, attr | PREC1 | RIGHT);
|
||||
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.PPM_Multiplier, -10, 40);
|
||||
}
|
||||
y += FH;
|
||||
|
||||
attr = (menuVerticalPosition==HEADER_LINE+5) ? INVERS : 0;
|
||||
|
||||
Reference in New Issue
Block a user