Relocate the configuration values #29

Open
localhorst wants to merge 18 commits from feature/config into main
Showing only changes of commit 67929580d5 - Show all commits
+6
View File
@@ -28,6 +28,12 @@ static void event_handler(void *arg, esp_event_base_t event_base,
void initWifi(void) void initWifi(void)
{ {
s_wifi_event_group = xEventGroupCreate(); s_wifi_event_group = xEventGroupCreate();
if (s_wifi_event_group == NULL)
{
ESP_LOGE(TAG, "xEventGroupCreate() failed!");
return;
}
ESP_ERROR_CHECK(esp_netif_init()); ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(esp_event_loop_create_default());