Correct pre-warning to just warning

This commit is contained in:
Yuri D'Elia 2022-06-26 22:27:40 +02:00
parent 14622bc577
commit ec74b88ebc
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ struct model_data
float Ta_corr; // ambient temperature correction (K)
// thresholds
float warn; // pre-warning threshold (K/s)
float warn; // warning threshold (K/s)
float err; // error threshold (K/s)
// status flags
@ -61,7 +61,7 @@ struct model_data
// pre-computed values (initialized via reset)
float C_i; // heatblock capacitance (precomputed dT/C)
float warn_s; // pre-warning threshold (per sample)
float warn_s; // warning threshold (per sample)
float err_s; // error threshold (per sample)
// simulation functions

View File

@ -439,7 +439,7 @@
#define TEMP_MODEL_Ta_corr -7 // Default ambient temperature correction
#define TEMP_MODEL_LAG 2.1 // Temperature transport delay (s)
#define TEMP_MODEL_W 1.2 // Default pre-warning threshold (K/s)
#define TEMP_MODEL_W 1.2 // Default warning threshold (K/s)
#define TEMP_MODEL_E 1.74 // Default error threshold (K/s)
#define TEMP_MODEL_CAL_Th 230 // Default calibration working temperature (C)