Add missing tag in configOutput

This commit is contained in:
fvanroie 2023-01-31 03:35:25 +01:00
parent f842a744e4
commit 7934c47509

View File

@ -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()) {