Issue #28: Inmprove GUI of profile executer

This commit is contained in:
Mario Hüttel 2021-04-06 19:23:45 +02:00
parent 8576bf4231
commit d146b10569

View File

@ -428,7 +428,7 @@ static void gui_menu_temp_profile_execute(struct lcd_menu *menu, enum menu_entry
last_tick = 0ULL;
}
if (systick_ticks_have_passed(last_tick, 300)) {
if (systick_ticks_have_passed(last_tick, 250)) {
state = temp_profile_executer_status();
if (state->status == TPE_RUNNING)
menu_lcd_outputf(menu, 0, "Profile running");
@ -440,7 +440,7 @@ static void gui_menu_temp_profile_execute(struct lcd_menu *menu, enum menu_entry
menu_lcd_outputf(menu, 1, "Step %u/%u", state->step, state->profile_steps);
(void)adc_pt1000_get_current_resistance(&resistance);
res = temp_converter_convert_resistance_to_temp(resistance, &temperature);
menu_lcd_outputf(menu, 2, "Temp: %s%.0f", (res < 0 ? "<" : (res > 0 ? ">" : "")), temperature);
menu_lcd_outputf(menu, 2, "Temp: %s%.1f", (res < 0 ? "<" : (res > 0 ? ">" : "")), temperature);
if (oven_pid_get_status() == OVEN_PID_RUNNING) {
menu_lcd_outputf(menu, 3, "Target: %.0f", state->setpoint);
} else {