mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Fix compilation error
This commit is contained in:
parent
d70ce6a767
commit
82ccd7ed37
@ -621,7 +621,7 @@ float ConvertTempToCelsius(float c)
|
|||||||
char TempUnit(void)
|
char TempUnit(void)
|
||||||
{
|
{
|
||||||
// SetOption8 - Switch between Celsius or Fahrenheit
|
// SetOption8 - Switch between Celsius or Fahrenheit
|
||||||
return (Settings.flag.temperature_conversion) ? D_UNIT_FAHRENHEIT : D_UNIT_CELSIUS;
|
return (Settings.flag.temperature_conversion) ? D_UNIT_FAHRENHEIT[0] : D_UNIT_CELSIUS[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
float ConvertHumidity(float h)
|
float ConvertHumidity(float h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user