forked from FOSS/BangleApps
sixths: Fix pressure change handling.
parent
a27f40c9f6
commit
e6f864d441
|
@ -83,8 +83,6 @@ Todo:
|
|||
|
||||
*) "myprofile" to read step length
|
||||
|
||||
*) +-3.5hPa 1012hPa
|
||||
|
||||
?) display gps alt + offset to baro
|
||||
|
||||
?) start logging baro pressure
|
||||
|
|
|
@ -772,7 +772,7 @@ function draw() {
|
|||
let o = Bangle.getOptions();
|
||||
let pr = o.seaLevelPressure;
|
||||
|
||||
if (now.hour < 6)
|
||||
if (now.getHours() < 10)
|
||||
night_pressure = pr;
|
||||
if (night_pressure)
|
||||
msg += (pr-night_pressure).toFixed(1) + fmt.icon_hpa + " ";
|
||||
|
|
Loading…
Reference in New Issue