From 35656314aa5f452a5b09fbb3acbe508fde9e280a Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Wed, 28 Sep 2022 14:59:25 +0300 Subject: [PATCH] sns: typo --- code/espurna/thermostat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/thermostat.cpp b/code/espurna/thermostat.cpp index 28d31418..803e665f 100644 --- a/code/espurna/thermostat.cpp +++ b/code/espurna/thermostat.cpp @@ -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