Fix typo in action.c (#7757)
authorxyzz <1065521+xyzz@users.noreply.github.com>
Thu, 2 Jan 2020 12:49:53 +0000 (07:49 -0500)
committerJoel Challis <git@zvecr.com>
Thu, 2 Jan 2020 12:49:53 +0000 (12:49 +0000)
tmk_core/common/action.c

index bd6aeba..7fbdbd8 100644 (file)
@@ -552,7 +552,7 @@ void process_action(keyrecord_t *record, action_t action) {
             action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
             break;
 #endif
-#if defined(BACKLIGHT_ENABLE) | defined(LED_MATRIX_ENABLE)
+#if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE)
         case ACT_BACKLIGHT:
             if (!event.pressed) {
                 switch (action.backlight.opt) {