Move default settings into sub-menu in menuconfig

This commit is contained in:
Camden Dixie O'Brien 2023-05-16 13:50:58 +01:00
parent 744f8b2504
commit 2ac7310a21

View File

@ -1,19 +1,21 @@
menu "Bedside clock settings" menu "Bedside clock settings"
config DEFAULT_HOSTNAME menu "Default settings"
string "Default hostname" config DEFAULT_HOSTNAME
default "bedside-clock" string "Default hostname"
config DEFAULT_SSID default "bedside-clock"
string "SSID of default WiFi network" config DEFAULT_SSID
default "" string "SSID of default WiFi network"
config DEFAULT_PSK default ""
string "PSK for default WiFi network" config DEFAULT_PSK
default "" string "PSK for default WiFi network"
config DEFAULT_TIMEZONE default ""
string "Default timezone" config DEFAULT_TIMEZONE
default "Europe/London" string "Default timezone"
config DEFAULT_SNTP_SERVER default "Europe/London"
string "Default SNTP server domain" config DEFAULT_SNTP_SERVER
default "pool.ntp.org" string "Default SNTP server domain"
default "pool.ntp.org"
endmenu
config WIFI_MAX_RETRIES config WIFI_MAX_RETRIES
int "Maximum number of times to retry connecting to WiFi network" int "Maximum number of times to retry connecting to WiFi network"
default 10 default 10