better type for actual_dt
This commit is contained in:
parent
eeb154f88a
commit
417a614d69
|
@ -19,7 +19,7 @@
|
|||
__attribute__((__unused__)) static unsigned int time = 0; // profile seconds
|
||||
__attribute__((__unused__)) static unsigned int temperatur = 25; // actual oven temp
|
||||
__attribute__((__unused__)) static unsigned int last_temperatur = 25; // last oven temp
|
||||
__attribute__((__unused__)) static unsigned int actual_dt = 0; // actual difference from last to actual temperatur
|
||||
__attribute__((__unused__)) static int actual_dt = 0; // actual difference from last to actual temperatur
|
||||
|
||||
|
||||
// profile temperatures
|
||||
|
@ -208,7 +208,7 @@ static void handle_ramp_up_state() {
|
|||
Serial.println("RAMP_UP_STATE");
|
||||
if (temperatur > Tl) {
|
||||
Tl_time_start = time;
|
||||
state++;
|
||||
set_tal_first_state();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue