mirror of
https://github.com/scottchiefbaker/ESP-WebOTA.git
synced 2024-08-30 18:12:33 +00:00
Merge pull request #4 from leojz/fix_webota_handle
removed unused static variable init_run in WebOTA::handle()
This commit is contained in:
commit
964a807d9a
@ -58,8 +58,6 @@ int WebOTA::init() {
|
||||
}
|
||||
|
||||
int WebOTA::handle() {
|
||||
static bool init_run = false;
|
||||
|
||||
// If we haven't run the init yet run it
|
||||
if (!this->init_has_run) {
|
||||
WebOTA::init();
|
||||
|
Loading…
Reference in New Issue
Block a user