Wind speed shouldn't be rounded
This commit is contained in:
parent
38da7b04ec
commit
42a7285537
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ void WatchFacePages::Weather::Resync()
|
||||||
float windSpeedKmh = std::stof(windSpeed);
|
float windSpeedKmh = std::stof(windSpeed);
|
||||||
|
|
||||||
// Convert to m/s
|
// Convert to m/s
|
||||||
m_currentWindSpeed = std::round(windSpeedKmh * 0.277778);
|
m_currentWindSpeed = windSpeedKmh * 0.277778;
|
||||||
|
|
||||||
m_features.wifi.Disconnect();
|
m_features.wifi.Disconnect();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue