summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/keymaps
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-01-21 03:21:17 +1100
committerGitHub <noreply@github.com>2023-01-20 16:21:17 +0000
commitcf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch)
treecb7dc41b774171ce7036f963941ce801e868d8cd /keyboards/handwired/onekey/keymaps
parent0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff)
Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
Diffstat (limited to 'keyboards/handwired/onekey/keymaps')
-rw-r--r--keyboards/handwired/onekey/keymaps/digitizer/keymap.c2
-rw-r--r--keyboards/handwired/onekey/keymaps/joystick/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/keymaps/digitizer/keymap.c b/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
index dcc0adc59b..49fe3d66c8 100644
--- a/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/digitizer/keymap.c
@@ -32,7 +32,7 @@ void keyboard_post_init_user(void) {
digitizer_in_range_on();
}
-void matrix_scan_user() {
+void matrix_scan_user(void) {
if (timer_elapsed32(timer) < 200) {
return;
}
diff --git a/keyboards/handwired/onekey/keymaps/joystick/keymap.c b/keyboards/handwired/onekey/keymaps/joystick/keymap.c
index 6463900b7b..3bcdf2c58e 100644
--- a/keyboards/handwired/onekey/keymaps/joystick/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/joystick/keymap.c
@@ -8,7 +8,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_1x1(JS_0)
};
-void matrix_scan_user() {
+void matrix_scan_user(void) {
int16_t val = (((uint32_t)timer_read() % 5000 - 2500) * 255) / 5000;
joystick_set_axis(1, val);
}