Bug: Fix missing variable in printf varargs for gui
This commit is contained in:
parent
8309cef5ec
commit
81155887de
@ -448,7 +448,7 @@ static void gui_menu_temp_profile_execute(struct lcd_menu *menu, enum menu_entry
|
|||||||
menu_lcd_outputf(menu, 2, "to return.");
|
menu_lcd_outputf(menu, 2, "to return.");
|
||||||
(void)adc_pt1000_get_current_resistance(&resistance);
|
(void)adc_pt1000_get_current_resistance(&resistance);
|
||||||
res = temp_converter_convert_resistance_to_temp(resistance, &temperature);
|
res = temp_converter_convert_resistance_to_temp(resistance, &temperature);
|
||||||
menu_lcd_outputf(menu, 3, "Temp: %.1f ", LCD_DEGREE_SYMBOL_STRING "C");
|
menu_lcd_outputf(menu, 3, "Temp: %.1f ", LCD_DEGREE_SYMBOL_STRING "C", temperature);
|
||||||
} else {
|
} else {
|
||||||
menu_lcd_outputf(menu, 0, "Profile aborted!");
|
menu_lcd_outputf(menu, 0, "Profile aborted!");
|
||||||
menu_lcd_outputf(menu, 1, "Check flags!");
|
menu_lcd_outputf(menu, 1, "Check flags!");
|
||||||
|
Loading…
Reference in New Issue
Block a user