summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2023-07-27 18:28:16 +0300
committerGitHub <noreply@github.com>2023-07-27 16:28:16 +0100
commit4f0952524820badefe9ec67cf523d281afa03eb3 (patch)
tree219c1306d6195d0755d06f8ea5110c2af8b15d65 /keyboards
parentce11427b11c2a857ce9f45eb6a58f5cd52b3d17f (diff)
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 <stdio.h>` 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 <stdio.h>` to the C sources which need it.
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/helix/rev3_4rows/config.h2
-rw-r--r--keyboards/helix/rev3_4rows/keymaps/default/oled_display.c2
-rw-r--r--keyboards/helix/rev3_4rows/keymaps/via/oled_display.c2
-rw-r--r--keyboards/helix/rev3_5rows/config.h2
-rw-r--r--keyboards/helix/rev3_5rows/keymaps/default/oled_display.c2
-rw-r--r--keyboards/helix/rev3_5rows/keymaps/via/oled_display.c2
6 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/helix/rev3_4rows/config.h b/keyboards/helix/rev3_4rows/config.h
index 2eda425a4f..214bd11941 100644
--- a/keyboards/helix/rev3_4rows/config.h
+++ b/keyboards/helix/rev3_4rows/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include <stdio.h>
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 7
diff --git a/keyboards/helix/rev3_4rows/keymaps/default/oled_display.c b/keyboards/helix/rev3_4rows/keymaps/default/oled_display.c
index e951f627c8..ee5277a7df 100644
--- a/keyboards/helix/rev3_4rows/keymaps/default/oled_display.c
+++ b/keyboards/helix/rev3_4rows/keymaps/default/oled_display.c
@@ -16,6 +16,8 @@
#include QMK_KEYBOARD_H
+#include <stdio.h>
+
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_QWERTY = 0,
diff --git a/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c b/keyboards/helix/rev3_4rows/keymaps/via/oled_display.c
index e951f627c8..ee5277a7df 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 <stdio.h>
+
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_QWERTY = 0,
diff --git a/keyboards/helix/rev3_5rows/config.h b/keyboards/helix/rev3_5rows/config.h
index bd09cc60ab..7e11a93fd2 100644
--- a/keyboards/helix/rev3_5rows/config.h
+++ b/keyboards/helix/rev3_5rows/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include <stdio.h>
-
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 7
diff --git a/keyboards/helix/rev3_5rows/keymaps/default/oled_display.c b/keyboards/helix/rev3_5rows/keymaps/default/oled_display.c
index e951f627c8..ee5277a7df 100644
--- a/keyboards/helix/rev3_5rows/keymaps/default/oled_display.c
+++ b/keyboards/helix/rev3_5rows/keymaps/default/oled_display.c
@@ -16,6 +16,8 @@
#include QMK_KEYBOARD_H
+#include <stdio.h>
+
// 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 e951f627c8..ee5277a7df 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 <stdio.h>
+
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_QWERTY = 0,