summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/cbbrowne/keymap.c
diff options
context:
space:
mode:
authorBrian Choromanski <BrianChoromanski@gmail.com>2018-03-12 18:18:40 -0400
committerJack Humbert <jack.humb@gmail.com>2018-03-13 02:21:18 -0400
commit4464d90f4d3e64180f619d0663b8dd8f9b29b7e9 (patch)
tree2cabd2ea555666e7c0de48024139e27d1909cb31 /keyboards/planck/keymaps/cbbrowne/keymap.c
parent2dacf25f284551fa423bfdb309b4ad99e4253095 (diff)
downloadqmk_firmware-4464d90f4d3e64180f619d0663b8dd8f9b29b7e9.tar.gz
qmk_firmware-4464d90f4d3e64180f619d0663b8dd8f9b29b7e9.zip
Fixed plank keymaps so that they will compile for planck light
Diffstat (limited to 'keyboards/planck/keymaps/cbbrowne/keymap.c')
-rw-r--r--keyboards/planck/keymaps/cbbrowne/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/cbbrowne/keymap.c b/keyboards/planck/keymaps/cbbrowne/keymap.c
index 9bae6fb50f..eb8d422f2d 100644
--- a/keyboards/planck/keymaps/cbbrowne/keymap.c
+++ b/keyboards/planck/keymaps/cbbrowne/keymap.c
@@ -219,7 +219,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
if (record->event.pressed)
{
layer_on(_RAISE);
-#ifdef BACKLIGHT_ENABLE
+#ifdef BACKLIGHT_BREATHING
breathing_period_set(2);
breathing_pulse();
#endif
@@ -235,7 +235,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
if (record->event.pressed)
{
layer_on(_LOWER);
-#ifdef BACKLIGHT_ENABLE
+#ifdef BACKLIGHT_BREATHING
breathing_period_set(2);
breathing_pulse();
#endif