Bug: Fix missing variable in printf varargs for gui

This commit is contained in:
Mario Hüttel 2021-04-10 13:11:35 +02:00
parent 8309cef5ec
commit 81155887de

View File

@ -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.");
(void)adc_pt1000_get_current_resistance(&resistance);
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 {
menu_lcd_outputf(menu, 0, "Profile aborted!");
menu_lcd_outputf(menu, 1, "Check flags!");