From fe247c7465ed94f69062a7ef0fbc9f663e9311e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 30 Sep 2019 10:31:42 +0200 Subject: [PATCH] Fix button2 GPIO in Sonoff MINI --- code/espurna/config/hardware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index c9d67e81..c2e6f323 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -316,7 +316,7 @@ #define BUTTON1_PIN 0 #define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH #define BUTTON1_RELAY 1 - #define BUTTON2_PIN 14 + #define BUTTON2_PIN 4 #define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH #define BUTTON2_RELAY 1