We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae32b10 + 6a6106f commit 9bb96f6Copy full SHA for 9bb96f6
src/lib/WIFI/devWIFI.cpp
@@ -359,7 +359,7 @@ static void GetConfiguration(AsyncWebServerRequest *request)
359
cfg["vbind"] = config.GetBindStorage();
360
for (int ch=0; ch<GPIO_PIN_PWM_OUTPUTS_COUNT; ++ch)
361
{
362
- const auto channel = cfg["channel"][ch].to<JsonObject>();
+ const auto channel = cfg["pwm"][ch].to<JsonObject>();
363
channel["config"] = config.GetPwmChannel(ch)->raw;
364
channel["pin"] = GPIO_PIN_PWM_OUTPUTS[ch];
365
uint8_t features = 0;
0 commit comments