]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
CA66 Backlighting FIx (#3089)
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Thu, 31 May 2018 02:44:52 +0000 (19:44 -0700)
committerDrashna Jaelre <drashna@live.com>
Thu, 31 May 2018 02:44:52 +0000 (19:44 -0700)
* Enable backlighting using pin F0 and changing it in the rules.mk file as well

* Change KB_H to CA66_H

keyboards/ca66/ca66.h
keyboards/ca66/config.h
keyboards/ca66/rules.mk

index 0f91a1238df5964a87bab5352c51a4f50c2b99f9..0c00125a36c2132c11ef4f1678906c585ba0b272 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef KB_H
-#define KB_H
+#ifndef CA66_H
+#define CA66_H
 
 #include "quantum.h"
 
index f00b5109d75028798a1da1d3f6ff32f4f9df145a..c35718042aad7e3cafefc40d899438c94a9a9fd5 100644 (file)
@@ -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
index d3ad3d20c633b0c2caa4829c0849a0306cc68904..5779b2c8ada27dcd5a5a095b64842bd55645c319 100644 (file)
@@ -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