Browse Source

Merged in denisfrench/espurna/dev (pull request #18)

Fix MQTT_RELAY compile error due missing #define BUTTON1_MODE

Approved-by: Xose Pérez <xose.perez@gmail.com>
fastled
Denis French 7 years ago
committed by Xose Pérez
parent
commit
3d26383029
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/hardware.h

+ 1
- 0
code/espurna/config/hardware.h View File

@ -383,6 +383,7 @@
#define DEVICE "MQTT_RELAY" #define DEVICE "MQTT_RELAY"
#define BUTTON1_PIN 0 #define BUTTON1_PIN 0
#define BUTTON1_RELAY 1 #define BUTTON1_RELAY 1
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define RELAY1_PIN 12 #define RELAY1_PIN 12
#define RELAY1_PIN_INVERSE 0 #define RELAY1_PIN_INVERSE 0
#define LED1_PIN 16 #define LED1_PIN 16


Loading…
Cancel
Save