pid adjusts

This commit is contained in:
2023-05-04 22:26:02 +02:00
parent 0d79379438
commit 39e143d186
5 changed files with 25 additions and 3 deletions
+4
View File
@@ -81,6 +81,7 @@ static void sample1_menu_cb(int opt) {
// Continue
next_phase();
request_paint();
s_calib.temp1 = 100;
s_calib.sample1 = app_temp_read_oven_raw();
app_heater_enable(false);
break;
@@ -104,6 +105,7 @@ static void sample2_menu_cb(int opt) {
// Continue
next_phase();
request_paint();
s_calib.temp2 = 200;
s_calib.sample2 = app_temp_read_oven_raw();
app_heater_enable(false);
break;
@@ -197,6 +199,8 @@ void screen_calibration(GuiEvent event)
next_phase();
request_paint();
PRINTF("KNOB_REL PH %d\r\n", s_calib.phase);
if (s_calib.phase == PH_DONE) {
app_heater_set_target(0);
app_heater_enable(false);