mirror of https://github.com/arendst/Tasmota.git
Fix typo
This commit is contained in:
parent
aae86a6718
commit
c1bb875abd
|
@ -366,7 +366,7 @@ void HueLightStatus1(uint8_t device, String *response)
|
||||||
bool HueActive(uint8_t device) {
|
bool HueActive(uint8_t device) {
|
||||||
if (device > MAX_FRIENDLYNAMES) { device = MAX_FRIENDLYNAMES; }
|
if (device > MAX_FRIENDLYNAMES) { device = MAX_FRIENDLYNAMES; }
|
||||||
// return '$' != Settings.friendlyname[device-1][0];
|
// return '$' != Settings.friendlyname[device-1][0];
|
||||||
return '$' != *SettingsText(SET_FRIENDLYNAME1 +device -1];
|
return '$' != *SettingsText(SET_FRIENDLYNAME1 +device -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HueLightStatus2(uint8_t device, String *response)
|
void HueLightStatus2(uint8_t device, String *response)
|
||||||
|
|
Loading…
Reference in New Issue