From 30a0877de737edb59888586ff61920c734dffa4d Mon Sep 17 00:00:00 2001 From: Morgan Allen Date: Fri, 21 Sep 2018 21:31:37 -0700 Subject: [PATCH] hoist wifi_manager_connect so it can be called from the handler --- main/esp32-wifi-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/esp32-wifi-manager.c b/main/esp32-wifi-manager.c index 1ef1ffc..79c9b61 100644 --- a/main/esp32-wifi-manager.c +++ b/main/esp32-wifi-manager.c @@ -42,6 +42,8 @@ typedef struct ap_store_base { ap_store_t ap_store; static EventGroupHandle_t wm_event_group; +void wifi_manager_connect(); + uint8_t wifi_manager_ap_count() { return ap_store.count; };