From ed0d50a3aa6b98c8ec83fd43639a56735d6574a8 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 16 Feb 2019 18:01:54 +0100 Subject: [PATCH] Fix template support Fix template support --- sonoff/support.ino | 2 -- 1 file changed, 2 deletions(-) diff --git a/sonoff/support.ino b/sonoff/support.ino index 5c76b137b..d37185e3f 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -788,8 +788,6 @@ bool GetUsedInModule(uint8_t val, uint8_t *arr) { int offset = 0; - if (USER_MODULE == Settings.module) { return false; } - if (!val) { return false; } // None if ((val >= GPIO_KEY1) && (val < GPIO_KEY1 + MAX_KEYS)) {