From f703b5489dcbe496e928621818c25dce33106609 Mon Sep 17 00:00:00 2001 From: Philipp Bauer <36240461+BauerPh@users.noreply.github.com> Date: Sun, 22 Jul 2018 23:46:00 +0200 Subject: [PATCH] fixed typo --- code/espurna/config/hardware.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 4d56fd0e..f5125566 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -2176,7 +2176,7 @@ #define BUTTON1_RELAY 1 #define BUTTON1_MODE BUTTON_SWITCH | BUTTON_DEFAULT_HIGH //Hardware Pullup - #define BUTTON2_PRESS BUTTON_MODE_NONE + #define BUTTON1_PRESS BUTTON_MODE_NONE #define BUTTON1_CLICK BUTTON_MODE_TOGGLE #define BUTTON1_DBLCLICK BUTTON_MODE_NONE #define BUTTON1_LNGCLICK BUTTON_MODE_NONE @@ -2186,7 +2186,7 @@ #define BUTTON2_RELAY 2 #define BUTTON2_MODE BUTTON_SWITCH | BUTTON_DEFAULT_HIGH //Hardware Pullup - #define BUTTON2_CLICK BUTTON_MODE_TOGGLE + #define BUTTON2_CLICK BUTTON_MODE_TOGGLE // Relays #define RELAY1_PIN 4