Skip to content

Commit 9bb96f6

Browse files
authored
Merge pull request ExpressLRS#3467 from pkendall64/4.0/rename-type
Fix for PWM configuration not in the web UI
2 parents ae32b10 + 6a6106f commit 9bb96f6

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)