Skip to content

Commit

Permalink
getVersion()
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt committed Jan 7, 2024
1 parent 51c31df commit d59bd5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AsyncFsWebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class AsyncFsWebServer : public AsyncWebServer
if(_catchAllHandler) delete _catchAllHandler;
}

const char* getVersion();

#ifdef ESP32
inline TaskHandle_t getTaskHandler() {
return xTaskGetCurrentTaskHandle();
Expand Down
5 changes: 5 additions & 0 deletions src/lib_version.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include "AsyncFsWebServer.h"

const char* AsyncFsWebServer::getVersion() {
return "1.0.4";
}

0 comments on commit d59bd5a

Please sign in to comment.