Fix memory overwrite.
This commit is contained in:
parent
085c77effb
commit
ea88dea432
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ static void _menu_edit_P(void)
|
|||
}
|
||||
if (LCD_CLICKED)
|
||||
{
|
||||
*((int*)(_md->editValue)) = (int)lcd_encoder;
|
||||
*((T)(_md->editValue)) = lcd_encoder;
|
||||
menu_back_no_reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue