- Applied changes based on PR feedback

- Remove redundant menu entries from default config (will be set by Kconfig.projbuild)
This commit is contained in:
PhosphorosVR
2025-08-09 17:13:04 +02:00
parent 6c0f7d8e73
commit 0c4a300647
12 changed files with 29 additions and 51 deletions

View File

@@ -80,7 +80,7 @@ struct MDNSConfig_t : BaseConfigModel
{
// by default, this will be openiris
// but we can override it at compile time
std::string default_hostname = CONFIG_MDNS_HOSTNAME;
std::string default_hostname = CONFIG_WIFI_MDNS_HOSTNAME;
if (default_hostname.empty())
{
@@ -214,8 +214,8 @@ struct AP_WiFiConfig_t : BaseConfigModel
void load()
{
this->ssid = this->pref->getString("apSSID", CONFIG_AP_WIFI_SSID);
this->password = this->pref->getString("apPassword", CONFIG_AP_WIFI_PASSWORD);
this->ssid = this->pref->getString("apSSID", CONFIG_WIFI_AP_SSID);
this->password = this->pref->getString("apPassword", CONFIG_WIFI_AP_PASSWORD);
};
void save() const {