From c2d726a7dfce4147857804026f70af89b076f99a Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Thu, 14 Mar 2019 15:37:48 -0700 Subject: [PATCH] Allow the version to be accessed globally --- src/WebOTA.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WebOTA.h b/src/WebOTA.h index 18e6a5c..d04c061 100644 --- a/src/WebOTA.h +++ b/src/WebOTA.h @@ -1,5 +1,7 @@ #include +extern const char *WEBOTA_VERSION; + int init_wifi(const char *ssid, const char *password, const char *mdns_hostname); int init_mdns(const char *host); int init_web_ota(WebServer *server);