summaryrefslogtreecommitdiffstats
path: root/keyboards/ca66
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-05-30 19:44:52 -0700
committerDrashna Jaelre <drashna@live.com>2018-05-30 19:44:52 -0700
commitb2398ecbe7047d6bcd39a6c8039b1bfbdcc51ad2 (patch)
treecffa31ca4245685c904440878f5cc7adf1d46650 /keyboards/ca66
parent258954dc3e884dfa9a057f10f96c4544737e9e81 (diff)
CA66 Backlighting FIx (#3089)
* Enable backlighting using pin F0 and changing it in the rules.mk file as well * Change KB_H to CA66_H
Diffstat (limited to 'keyboards/ca66')
-rw-r--r--keyboards/ca66/ca66.h4
-rw-r--r--keyboards/ca66/config.h3
-rw-r--r--keyboards/ca66/rules.mk2
3 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/ca66/ca66.h b/keyboards/ca66/ca66.h
index 0f91a1238d..0c00125a36 100644
--- a/keyboards/ca66/ca66.h
+++ b/keyboards/ca66/ca66.h
@@ -1,5 +1,5 @@
-#ifndef KB_H
-#define KB_H
+#ifndef CA66_H
+#define CA66_H
#include "quantum.h"
diff --git a/keyboards/ca66/config.h b/keyboards/ca66/config.h
index f00b5109d7..c35718042a 100644
--- a/keyboards/ca66/config.h
+++ b/keyboards/ca66/config.h
@@ -25,9 +25,8 @@
/* number of backlight levels */
-#ifdef BACKLIGHT_PIN
+#define BACKLIGHT_PIN F0
#define BACKLIGHT_LEVELS 3
-#endif
/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5
diff --git a/keyboards/ca66/rules.mk b/keyboards/ca66/rules.mk
index d3ad3d20c6..5779b2c8ad 100644
--- a/keyboards/ca66/rules.mk
+++ b/keyboards/ca66/rules.mk
@@ -51,6 +51,6 @@ CONSOLE_ENABLE ?= no # Console for debug(+400)
COMMAND_ENABLE ?= no # Commands for debug and configuration
SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality
+BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
AUDIO_ENABLE ?= no
RGBLIGHT_ENABLE ?= yes