Fix memory overwrite.

This commit is contained in:
Marek Bel 2018-08-24 21:24:14 +02:00
parent 085c77effb
commit ea88dea432

View file

@ -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();
}
}