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