From 375963262500e227c8054250577fe2db3a020b57 Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Thu, 27 Jul 2023 18:28:16 +0300 Subject: [PATCH] helix/rev3_4rows, helix/rev3_5rows: Fix build with converters (#21608) The code for Helix rev3 boards could not be built with, e.g., `CONVERT_TO=rp2040_ce` due to invalid `#include ` in the keyboard level `config.h` (apparently the AVR version of that file contains guards against usage in assembly code, which was hiding the bug). Move `#include ` to the C sources which need it. --- keyboards/helix/rev3_4rows/keymaps/via/oled_display.c | 2 ++ keyboards/helix/rev3_5rows/keymaps/via/oled_display.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c b/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c index e951f627..ee5277a7 100644 --- a/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c +++ b/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c @@ -16,6 +16,8 @@ #include QMK_KEYBOARD_H +#include + // Defines names for use in layer keycodes and the keymap enum layer_names { _QWERTY = 0, diff --git a/keyboards/helix/rev3_5rows/keymaps/via/oled_display.c b/keyboards/helix/rev3_5rows/keymaps/via/oled_display.c index e951f627..ee5277a7 100644 --- a/keyboards/helix/rev3_5rows/keymaps/via/oled_display.c +++ b/keyboards/helix/rev3_5rows/keymaps/via/oled_display.c @@ -16,6 +16,8 @@ #include QMK_KEYBOARD_H +#include + // Defines names for use in layer keycodes and the keymap enum layer_names { _QWERTY = 0,