From 0658ae19599e88432bbb20348f1d49279276acd7 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 18 Feb 2019 16:19:46 +0100 Subject: [PATCH] Update sonoff_template.h Fix compile error --- sonoff/sonoff_template.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index bf900ac6b..462ec3b3f 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -335,6 +335,8 @@ typedef struct MYCFGIO { uint8_t io[MAX_GPIO_PIN - MIN_FLASH_PINS]; } mycfgio; +#define GPIO_FLAG_USED 1 // Currently only one flag used + #define GPIO_FLAG_ADC0 1 // Allow ADC0 when define USE_ADC_VCC is disabled #define GPIO_FLAG_SPARE01 2 // Allow input pull-up control using SetOption62 - Superseded by user template editing #define GPIO_FLAG_SPARE02 4