TM: Check for PC parameters more carefully
This commit is contained in:
parent
87118c1042
commit
36c3814dc2
@ -2387,8 +2387,8 @@ static void setup()
|
||||
|
||||
static bool calibrated()
|
||||
{
|
||||
if(!(data.P >= 0)) return false;
|
||||
if(!(data.C >= 0)) return false;
|
||||
if(!(data.P > 0)) return false;
|
||||
if(!(data.C > 0)) return false;
|
||||
if(!(data.Ta_corr != NAN)) return false;
|
||||
for(uint8_t i = 0; i != TEMP_MODEL_R_SIZE; ++i) {
|
||||
if(!(temp_model::data.R[i] >= 0))
|
||||
|
Loading…
Reference in New Issue
Block a user