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