sixths: Fix pressure change handling.

pull/3550/head
Pavel Machek 2024-08-15 09:53:47 +02:00
parent a27f40c9f6
commit e6f864d441
2 changed files with 1 additions and 3 deletions

View File

@ -83,8 +83,6 @@ Todo:
*) "myprofile" to read step length
*) +-3.5hPa 1012hPa
?) display gps alt + offset to baro
?) start logging baro pressure

View File

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