Browse Source

sns: typo

pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
35656314aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/thermostat.cpp

+ 1
- 1
code/espurna/thermostat.cpp View File

@ -426,7 +426,7 @@ String _getLocalUnit(unsigned char type) {
for (unsigned char index = 0; index < magnitudeCount(); ++index) {
const auto info = magnitudeInfo(index);
if (info.type == type) {
return magnitudeUnitName(info.units);
return magnitudeUnitsName(info.units);
}
}
#endif


Loading…
Cancel
Save