From 05d9a0ff036d91b7dc4e6198f4074161c1c7b633 Mon Sep 17 00:00:00 2001
From: Ryan <fauxpark@gmail.com>
Date: Fri, 27 Mar 2020 22:00:13 +1100
Subject: Fix inverted backlight for XD60 (#8575)

---
 keyboards/xd60/rev2/config.h | 1 +
 keyboards/xd60/rev3/config.h | 1 +
 2 files changed, 2 insertions(+)

(limited to 'keyboards/xd60')

diff --git a/keyboards/xd60/rev2/config.h b/keyboards/xd60/rev2/config.h
index 26dbb50e3..22aa95b29 100644
--- a/keyboards/xd60/rev2/config.h
+++ b/keyboards/xd60/rev2/config.h
@@ -48,6 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 /* Backlight Setup */
 #define BACKLIGHT_PIN F5
 #define BACKLIGHT_LEVELS 6
+#define BACKLIGHT_ON_STATE 0
 
 /* COL2ROW or ROW2COL */
 #define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/xd60/rev3/config.h b/keyboards/xd60/rev3/config.h
index 861755e45..4628b5a0c 100644
--- a/keyboards/xd60/rev3/config.h
+++ b/keyboards/xd60/rev3/config.h
@@ -48,6 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 /* Backlight Setup */
 #define BACKLIGHT_PIN F5
 #define BACKLIGHT_LEVELS 6
+#define BACKLIGHT_ON_STATE 0
 
 /* COL2ROW or ROW2COL */
 #define DIODE_DIRECTION COL2ROW
-- 
cgit v1.2.3