mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-02-04 13:04:08 +01:00
Pebble: prevent NPE on old firmwares without HR data in minute data (fix for previous commit)
This commit is contained in:
parent
fd9531a047
commit
1516fa904e
@ -132,7 +132,7 @@ class DatalogSessionHealthSteps extends DatalogSessionPebbleHealth {
|
||||
Integer resting_cal;
|
||||
Integer active_cal;
|
||||
Integer distance_cm;
|
||||
Short heart_rate;
|
||||
Short heart_rate = 0; // TODO: remove initialization once new db schema is in place, right now this prevents a NPE on old firmwares
|
||||
Integer heart_rate_weight;
|
||||
Short heart_rate_zone;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user