mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Add missing tag in configOutput
This commit is contained in:
parent
f842a744e4
commit
7934c47509
@ -971,7 +971,7 @@ bool gpioGetConfig(const JsonObject& settings)
|
|||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(changed) configOutput(settings);
|
if(changed) configOutput(settings, TAG_GPIO);
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -985,7 +985,7 @@ bool gpioGetConfig(const JsonObject& settings)
|
|||||||
**/
|
**/
|
||||||
bool gpioSetConfig(const JsonObject& settings)
|
bool gpioSetConfig(const JsonObject& settings)
|
||||||
{
|
{
|
||||||
configOutput(settings);
|
configOutput(settings, TAG_GPIO);
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
if(!settings[FPSTR(FP_GPIO_CONFIG)].isNull()) {
|
if(!settings[FPSTR(FP_GPIO_CONFIG)].isNull()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user