diff --git a/main/main.c b/main/main.c index c703f14..e421049 100644 --- a/main/main.c +++ b/main/main.c @@ -8,24 +8,23 @@ #include "esp_log.h" #include "nvs_flash.h" #include +#include "driver/gpio.h" #define WIFI_SSID "AndroidAP" #define WIFI_PASS "uyts6533" +#define ESP_INTR_FLAG_DEFAULT 0 + +uint8_t led_state = 0; // Event group static EventGroupHandle_t wifi_event_group; const int CONNECTED_BIT = BIT0; +static xQueueHandle gpio_evt_queue = NULL; static char* resp_str ="\ \ \ - \ - \ - \ \