diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 13c051a3..3bed1fd2 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -383,6 +383,7 @@ #define DEVICE "MQTT_RELAY" #define BUTTON1_PIN 0 #define BUTTON1_RELAY 1 + #define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH #define RELAY1_PIN 12 #define RELAY1_PIN_INVERSE 0 #define LED1_PIN 16