there are no lines to go on trainer:slave_mode
Originally, screen showed only "Slave", but cursor could disappear when going down to seven non-existant lines from master mode.
This commit is contained in:
@@ -498,16 +498,16 @@ void menuProcTime(uint8_t event)
|
|||||||
|
|
||||||
void menuProcTrainer(uint8_t event)
|
void menuProcTrainer(uint8_t event)
|
||||||
{
|
{
|
||||||
MENU(STR_MENUTRAINER, menuTabDiag, e_Trainer, 7, {0, 2, 2, 2, 2, 0/*, 0*/});
|
|
||||||
|
|
||||||
uint8_t y;
|
uint8_t y;
|
||||||
bool edit;
|
bool edit;
|
||||||
uint8_t blink ;
|
uint8_t blink ;
|
||||||
|
|
||||||
if (SLAVE_MODE) { // i am the slave
|
if (SLAVE_MODE) { // i am the slave
|
||||||
|
SIMPLE_MENU(STR_MENUTRAINER, menuTabDiag, e_Trainer, 1);
|
||||||
lcd_puts(7*FW, 3*FH, STR_SLAVE);
|
lcd_puts(7*FW, 3*FH, STR_SLAVE);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
MENU(STR_MENUTRAINER, menuTabDiag, e_Trainer, 7, {0, 2, 2, 2, 2, 0/*, 0*/});
|
||||||
lcd_puts(3*FW, 1*FH, STR_MODESRC);
|
lcd_puts(3*FW, 1*FH, STR_MODESRC);
|
||||||
|
|
||||||
y = 2*FH;
|
y = 2*FH;
|
||||||
|
|||||||
Reference in New Issue
Block a user