Browse Source

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.
pull/21629/head
Sergey Vlasov 10 months ago
committed by GitHub
parent
commit
4f09525248
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 4 deletions
  1. +0
    -2
      keyboards/helix/rev3_4rows/config.h
  2. +2
    -0
      keyboards/helix/rev3_4rows/keymaps/default/oled_display.c
  3. +2
    -0
      keyboards/helix/rev3_4rows/keymaps/via/oled_display.c
  4. +0
    -2
      keyboards/helix/rev3_5rows/config.h
  5. +2
    -0
      keyboards/helix/rev3_5rows/keymaps/default/oled_display.c
  6. +2
    -0
      keyboards/helix/rev3_5rows/keymaps/via/oled_display.c

+ 0
- 2
keyboards/helix/rev3_4rows/config.h View File

@ -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


+ 2
- 0
keyboards/helix/rev3_4rows/keymaps/default/oled_display.c View File

@ -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,


+ 2
- 0
keyboards/helix/rev3_4rows/keymaps/via/oled_display.c View File

@ -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,


+ 0
- 2
keyboards/helix/rev3_5rows/config.h View File

@ -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


+ 2
- 0
keyboards/helix/rev3_5rows/keymaps/default/oled_display.c View File

@ -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,


+ 2
- 0
keyboards/helix/rev3_5rows/keymaps/via/oled_display.c View File

@ -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,


Loading…
Cancel
Save