Fix for failed build with ZsensorGPIOInput and ESPWifiManualSetup (#1479)
* Fix failed build with GPIOInput enabled and ESPWifiManualSetup
This commit is contained in:
1 parent
032a82e5e2
commit
239acaab13
1 file changed
+1
-1
@@ -60,7 +60,7 @@ void MeasureGPIOInput() {
|
||||
# if defined(ESP8266) || defined(ESP32)
|
||||
yield();
|
||||
# endif
|
||||
# if defined(TRIGGER_GPIO) && INPUT_GPIO == TRIGGER_GPIO
|
||||
# if defined(TRIGGER_GPIO) && INPUT_GPIO == TRIGGER_GPIO && !defined(ESPWifiManualSetup)
|
||||
if (reading == LOW) {
|
||||
if (resetTime == 0) {
|
||||
resetTime = millis();
|
||||
|
||||
Reference in new issue
Block a user