From 1177df59a06eaef8a9032898ae295519ad0a57a4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 20 Nov 2024 22:16:56 +0100 Subject: [PATCH] fix syntax --- keyboards/crkbd/keymaps/christoph-cullmann/keymap.c | 2 +- keyboards/ferris/keymaps/christoph-cullmann/keymap.c | 2 +- keyboards/planck/keymaps/christoph-cullmann/keymap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c index 9f0a147..0a6cea3 100644 --- a/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/crkbd/keymaps/christoph-cullmann/keymap.c @@ -5,7 +5,7 @@ #include QMK_KEYBOARD_H -char chordal_hold_handedness(keypos_t key +char chordal_hold_handedness(keypos_t key) { return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; } diff --git a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c index 1db3c1a..85c7ef4 100644 --- a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c @@ -5,7 +5,7 @@ #include QMK_KEYBOARD_H -char chordal_hold_handedness(keypos_t key +char chordal_hold_handedness(keypos_t key) { return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; } diff --git a/keyboards/planck/keymaps/christoph-cullmann/keymap.c b/keyboards/planck/keymaps/christoph-cullmann/keymap.c index 10129e6..c44517f 100644 --- a/keyboards/planck/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/planck/keymaps/christoph-cullmann/keymap.c @@ -5,7 +5,7 @@ #include QMK_KEYBOARD_H -char chordal_hold_handedness(keypos_t key +char chordal_hold_handedness(keypos_t key) { return ((key.row < 3) || (key.row == 3 && key.col < 3) || (key.row == 7 && key.col > 2)) ? 'L' : 'R'; }