aboutsummaryrefslogtreecommitdiff
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
parent258954dc3e884dfa9a057f10f96c4544737e9e81 (diff)
downloadqmk_firmware-b2398ecbe7047d6bcd39a6c8039b1bfbdcc51ad2.tar.gz
qmk_firmware-b2398ecbe7047d6bcd39a6c8039b1bfbdcc51ad2.zip
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
-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 0f91a1238..0c00125a3 100644
--- a/keyboards/ca66/ca66.h
+++ b/keyboards/ca66/ca66.h
@@ -1,5 +1,5 @@
1#ifndef KB_H 1#ifndef CA66_H
2#define KB_H 2#define CA66_H
3 3
4#include "quantum.h" 4#include "quantum.h"
5 5
diff --git a/keyboards/ca66/config.h b/keyboards/ca66/config.h
index f00b5109d..c35718042 100644
--- a/keyboards/ca66/config.h
+++ b/keyboards/ca66/config.h
@@ -25,9 +25,8 @@
25 25
26/* number of backlight levels */ 26/* number of backlight levels */
27 27
28#ifdef BACKLIGHT_PIN 28#define BACKLIGHT_PIN F0
29#define BACKLIGHT_LEVELS 3 29#define BACKLIGHT_LEVELS 3
30#endif
31 30
32/* Set 0 if debouncing isn't needed */ 31/* Set 0 if debouncing isn't needed */
33#define DEBOUNCING_DELAY 5 32#define DEBOUNCING_DELAY 5
diff --git a/keyboards/ca66/rules.mk b/keyboards/ca66/rules.mk
index d3ad3d20c..5779b2c8a 100644
--- a/keyboards/ca66/rules.mk
+++ b/keyboards/ca66/rules.mk
@@ -51,6 +51,6 @@ CONSOLE_ENABLE ?= no # Console for debug(+400)
51COMMAND_ENABLE ?= no # Commands for debug and configuration 51COMMAND_ENABLE ?= no # Commands for debug and configuration
52SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend 52SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
53NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 53NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
54BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality 54BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
55AUDIO_ENABLE ?= no 55AUDIO_ENABLE ?= no
56RGBLIGHT_ENABLE ?= yes 56RGBLIGHT_ENABLE ?= yes