mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-28 21:33:32 +00:00
feat(wifi): avoid compiling components related to wifi when wifi is not supported
This commit is contained in:
@@ -168,7 +168,7 @@ void app_main(void)
|
||||
esp_console_register_help_command();
|
||||
register_system_common();
|
||||
register_system_sleep();
|
||||
#if SOC_WIFI_SUPPORTED
|
||||
#if CONFIG_ESP_WIFI_ENABLED
|
||||
register_wifi();
|
||||
#endif
|
||||
register_nvs();
|
||||
|
Reference in New Issue
Block a user