mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-08 14:18:08 +02: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"
|
"Unknown" // some string like "Moderate"
|
||||||
))
|
))
|
||||||
.setWarning(XiaomiProto.WeatherWarnings.newBuilder()) // TODO add warnings when they become available through spec
|
.setWarning(XiaomiProto.WeatherWarnings.newBuilder()) // TODO add warnings when they become available through spec
|
||||||
.setPressure(weatherSpec.pressure)
|
.setPressure(weatherSpec.pressure * 100f)
|
||||||
))
|
))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user