source code migrating from gitlab
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef WIFI_CON_H
|
||||
#define WIFI_CON_H
|
||||
|
||||
#include <esp_event.h>
|
||||
#include <esp_log.h>
|
||||
#include <esp_system.h>
|
||||
#include <esp_wifi.h>
|
||||
#include <freertos/event_groups.h>
|
||||
#include <nvs_flash.h>
|
||||
|
||||
#define MAX_FAILURES 10
|
||||
#define WIFI_TAG "WIFI"
|
||||
static EventGroupHandle_t wifiEventGroup;
|
||||
|
||||
#define WIFI_SUCCESS BIT0
|
||||
#define WIFI_FAILURE BIT1
|
||||
|
||||
// NEW FUNC DEFS
|
||||
esp_err_t initWifi();
|
||||
|
||||
#endif // !WIFI_CON_H
|
||||
Reference in New Issue
Block a user