Explorar el Código

Remove obsolete GPIO ISR registration flag

SybexXx hace 3 días
padre
commit
6ac02efc95
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      code/components/jomjol_controlGPIO/server_GPIO.cpp

+ 0 - 4
code/components/jomjol_controlGPIO/server_GPIO.cpp

@@ -490,7 +490,6 @@ bool GpioHandler::readConfig()
         ESP_LOGD(TAG, "MAINTOPICMQTT found");
         ESP_LOGD(TAG, "MAINTOPICMQTT found");
     }
     }
 #endif // ENABLE_MQTT
 #endif // ENABLE_MQTT
-    bool registerISR = false;
     size_t acceptedUserChannels = 0U;
     size_t acceptedUserChannels = 0U;
     while (configFile.getNextLine(&line, disabledLine, eof) && !configFile.isNewParagraph(line))
     while (configFile.getNextLine(&line, disabledLine, eof) && !configFile.isNewParagraph(line))
     {
     {
@@ -564,9 +563,6 @@ bool GpioHandler::readConfig()
                 gpioExtLED = gpioNr;
                 gpioExtLED = gpioNr;
             }
             }
 
 
-            if (intType != GPIO_INTR_DISABLE) {
-                registerISR = true;
-            }
         }
         }
         if (toUpper(splitted[0]) == "LEDNUMBERS")
         if (toUpper(splitted[0]) == "LEDNUMBERS")
         {
         {