Skip to content

Commit

Permalink
Fix for invalid control characters appearing in JSON causing the Abou…
Browse files Browse the repository at this point in the history
…t dialog in WebUI v3 to not load (#1336)
  • Loading branch information
michmela44 authored Sep 26, 2024
1 parent 561006c commit daf0c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluidNC/src/WebUI/WifiConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ namespace WebUI {
j.id_value_object("SSID: ", (const char*)conf.ap.ssid);
j.id_value_object("Visible: ", (conf.ap.ssid_hidden == 0 ? "Yes" : "No"));
j.id_value_object("Radio country set: ",
std::string("") + country.cc + " (channels " + std::to_string(country.schan) + "-" +
std::string("") + country.cc[0] + country.cc[1] + " (channels " + std::to_string(country.schan) + "-" +
std::to_string((country.schan + country.nchan - 1)) + ", max power " +
std::to_string(country.max_tx_power) + "dBm)");

Expand Down

0 comments on commit daf0c8a

Please sign in to comment.