1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-01 03:55:47 +02:00

Fixup: Garmin: fix major issue with field encoding/decoding

Temperature offset must have its sign flipped.
This commit is contained in:
Daniele Gobbetti 2024-08-17 08:00:26 +02:00
parent 75047ecdea
commit 0a51598204

View File

@ -6,7 +6,7 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.fit.baseTypes
public class FieldDefinitionTemperature extends FieldDefinition {
public FieldDefinitionTemperature(int localNumber, int size, BaseType baseType, String name) {
super(localNumber, size, baseType, name, 1, 273);
super(localNumber, size, baseType, name, 1, -273);
}
}