better type for actual_dt

This commit is contained in:
Stefan Kögl 2012-10-03 23:26:38 +02:00
parent eeb154f88a
commit 417a614d69
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
__attribute__((__unused__)) static unsigned int time = 0; // profile seconds __attribute__((__unused__)) static unsigned int time = 0; // profile seconds
__attribute__((__unused__)) static unsigned int temperatur = 25; // actual oven temp __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 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 // profile temperatures
@ -208,7 +208,7 @@ static void handle_ramp_up_state() {
Serial.println("RAMP_UP_STATE"); Serial.println("RAMP_UP_STATE");
if (temperatur > Tl) { if (temperatur > Tl) {
Tl_time_start = time; Tl_time_start = time;
state++; set_tal_first_state();
} }
} }