sculpt_manager: adapt to Wifi::Manager changes

Issue #5341.
This commit is contained in:
Josef Söntgen 2024-09-16 17:40:00 +02:00 committed by Christian Helmuth
parent d4e4b8bf60
commit 6d79a44c46
2 changed files with 6 additions and 5 deletions

View File

@ -52,7 +52,7 @@ struct Sculpt::Wifi_driver : private Noncopyable
});
xml.node("libc", [&] {
xml.attribute("stdout", "/dev/null");
xml.attribute("stdout", "/dev/log");
xml.attribute("stderr", "/dev/null");
xml.attribute("rtc", "/dev/rtc");
});

View File

@ -144,8 +144,8 @@ struct Sculpt::Network : Noncopyable
xml.attribute("scan_interval", 10U);
xml.attribute("update_quality_interval", 30U);
xml.attribute("verbose_state", false);
xml.attribute("verbose", false);
xml.attribute("verbose", false);
xml.attribute("log_level", "error");
xml.node("network", [&]() {
xml.attribute("ssid", ap.ssid);
@ -174,14 +174,15 @@ struct Sculpt::Network : Noncopyable
xml.attribute("scan_interval", 10U);
xml.attribute("update_quality_interval", 30U);
xml.attribute("verbose_state", false);
xml.attribute("verbose", false);
xml.attribute("verbose", false);
xml.attribute("log_level", "error");
xml.node("network", [&]() {
/* generate attributes to ease subsequent manual tweaking */
xml.attribute("ssid", "");
xml.attribute("protection", "NONE");
xml.attribute("passphrase", "");
xml.attribute("auto_connect", false);
});
});