From 47384bd855b67149be1bf6b7f866b42e42208bfd Mon Sep 17 00:00:00 2001 From: Fisch Date: Thu, 8 Aug 2024 23:27:55 +0200 Subject: [PATCH] ad continous ota check in setup --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 54708e7..659f52d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,7 +10,9 @@ void setup() { checkOTA(); if(initOTA()) { //initialize ota if ota enabled +#ifndef OTA_CONTINUOUS return; //if ota do nothing else for setup +#endif } Serial.println("Booting normal");