Merge pull request #4 from leojz/fix_webota_handle

removed unused static variable init_run in WebOTA::handle()
This commit is contained in:
Scott Baker 2019-08-08 11:57:26 -07:00 committed by GitHub
commit 964a807d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();