From 1baeec545f55bb2251bc83a11e8aa784900477fb Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Tue, 2 Jul 2019 05:42:14 +0300 Subject: [PATCH] Revert "fix led invert for yjzk switches (#1779)" (#1804) https://github.com/xoseperez/espurna/pull/1779#issuecomment-504789747 --- code/espurna/config/hardware.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 9b6c4f5e..49a5ad35 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -975,7 +975,7 @@ // LEDs #define LED1_PIN 13 - #define LED1_PIN_INVERSE 1 + #define LED1_PIN_INVERSE 0 #elif defined(YJZK_SWITCH_2CH) @@ -1013,7 +1013,7 @@ // LEDs #define LED1_PIN 13 - #define LED1_PIN_INVERSE 1 + #define LED1_PIN_INVERSE 0 // YJZK 3CH switch // Also Lixin Touch Wifi 3M @@ -1065,7 +1065,7 @@ // LEDs #define LED1_PIN 13 - #define LED1_PIN_INVERSE 1 + #define LED1_PIN_INVERSE 0 // ----------------------------------------------------------------------------- // Electrodragon boards