mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +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…
Reference in New Issue
Block a user