mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-06 06:56:47 +01:00
Xiaomi: Fix barometer
Thanks to MrYoranimo for the fix.
This commit is contained in:
parent
4c93647aaf
commit
7892afa304
@ -302,7 +302,7 @@ public class XiaomiWeatherService extends AbstractXiaomiService {
|
||||
"Unknown" // some string like "Moderate"
|
||||
))
|
||||
.setWarning(XiaomiProto.WeatherWarnings.newBuilder()) // TODO add warnings when they become available through spec
|
||||
.setPressure(weatherSpec.pressure)
|
||||
.setPressure(weatherSpec.pressure * 100f)
|
||||
))
|
||||
.build();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user