Fix Celsius to Kelvin conversion #4

Merged
Starfish merged 1 commits from :fix-kelvin-conversion into master 2020-07-10 08:50:22 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class GadgetbridgeAPI {
}
private int toKelvin(double temperature){
return (int) (temperature - KelvinConstant);
return (int) (temperature + KelvinConstant);
}
private void setWeatherData(){