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:
Janice McLaughlin 2019-05-20 14:46:03 -07:00 committed by Jef Driesen
parent 05a21bc8ee
commit 5c55760fd5

View File

@ -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;