aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xd60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-03-27 22:00:13 +1100
committerGitHub <noreply@github.com>2020-03-27 11:00:13 +0000
commit05d9a0ff036d91b7dc4e6198f4074161c1c7b633 (patch)
treecea2b7f1f1bdd62fc3a587e4eb4621e665b23e5f /keyboards/xd60
parentb9d0b1f06478a1b3f596882b33cb9bd84e477bea (diff)
downloadfirmware-05d9a0ff036d91b7dc4e6198f4074161c1c7b633.tar.gz
firmware-05d9a0ff036d91b7dc4e6198f4074161c1c7b633.tar.bz2
firmware-05d9a0ff036d91b7dc4e6198f4074161c1c7b633.zip
Fix inverted backlight for XD60 (#8575)
Diffstat (limited to 'keyboards/xd60')
-rw-r--r--keyboards/xd60/rev2/config.h1
-rw-r--r--keyboards/xd60/rev3/config.h1
2 files changed, 2 insertions, 0 deletions
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