Explorar el Código

Add missing pascal to hPa function call

Now to get uFBT running and test it before I submit a PR.
shininghero hace 1 año
padre
commit
b555b810f9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Sensors.c

+ 2 - 0
Sensors.c

@@ -651,6 +651,8 @@ UnitempStatus unitemp_sensor_updateData(Sensor* sensor) {
             unitemp_pascalToInHg(sensor);
         } else if(app->settings.pressure_unit == UT_PRESSURE_KPA) {
             unitemp_pascalToKPa(sensor);
+        } else if(app->settings.pressure_unit == UT_PRESSURE_HPA) {
+            unitemp_pascalToHPa(sensor);
         }
     }
     return sensor->status;