]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/planck/keymaps/cbbrowne/keymap.c
Fixed plank keymaps so that they will compile for planck light
[qmk_firmware.git] / keyboards / planck / keymaps / cbbrowne / keymap.c
index 9bae6fb50fcc1249c31e750a69006ebd05bf21b1..eb8d422f2d3bddab9049ffb05e4ff6ad1b16e955 100644 (file)
@@ -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