Skip to content

Commit 6a6106f

Browse files
committed
OMG what was I doing!
1 parent ae32b10 commit 6a6106f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/WIFI/devWIFI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static void GetConfiguration(AsyncWebServerRequest *request)
359359
cfg["vbind"] = config.GetBindStorage();
360360
for (int ch=0; ch<GPIO_PIN_PWM_OUTPUTS_COUNT; ++ch)
361361
{
362-
const auto channel = cfg["channel"][ch].to<JsonObject>();
362+
const auto channel = cfg["pwm"][ch].to<JsonObject>();
363363
channel["config"] = config.GetPwmChannel(ch)->raw;
364364
channel["pin"] = GPIO_PIN_PWM_OUTPUTS[ch];
365365
uint8_t features = 0;

0 commit comments

Comments
 (0)