diff --git a/src/uwatec_smart_parser.c b/src/uwatec_smart_parser.c index 035f508..8d0df3d 100644 --- a/src/uwatec_smart_parser.c +++ b/src/uwatec_smart_parser.c @@ -601,7 +601,7 @@ uwatec_smart_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_t break; case TEMPERATURE: if (table[id].absolute) { - temperature = value / 2.5; + temperature = svalue / 2.5; have_temperature = 1; } else { temperature += svalue / 2.5;