mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-20 08:39:05 +00:00
feat(wifi): avoid compiling components related to wifi when wifi is not supported
This commit is contained in:
@@ -81,7 +81,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