mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 04:06:34 +00:00
Fix compilation ESP32
This commit is contained in:
parent
b55fdcef75
commit
3265236fe1
@ -744,7 +744,8 @@ void TempHumDewShow(bool json, bool pass_on, const char *types, float f_temperat
|
|||||||
String GetSwitchText(uint32_t i) {
|
String GetSwitchText(uint32_t i) {
|
||||||
String switch_text = SettingsText(SET_SWITCH_TXT1 + i);
|
String switch_text = SettingsText(SET_SWITCH_TXT1 + i);
|
||||||
if ('\0' == switch_text[0]) {
|
if ('\0' == switch_text[0]) {
|
||||||
switch_text = F(D_JSON_SWITCH) + String(i +1);
|
switch_text = F(D_JSON_SWITCH);
|
||||||
|
switch_text += String(i+1);
|
||||||
}
|
}
|
||||||
return switch_text;
|
return switch_text;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user