Fix the limit for an invalid sample temperature
In the EON Steel descriptor for the temperature field, the "nillable" value is -3000: int16,precision=2,nillable=-3000 So the missing equals sign is just a small oversight.
This commit is contained in:
parent
05a21bc8ee
commit
5c55760fd5
@ -496,7 +496,7 @@ static void sample_temp(struct sample_data *info, short temp)
|
||||
{
|
||||
dc_sample_value_t sample = {0};
|
||||
|
||||
if (temp < -3000)
|
||||
if (temp <= -3000)
|
||||
return;
|
||||
|
||||
sample.temperature = temp / 10.0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user