summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/promethium/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/promethium/keymaps
parent0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff)
Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
Diffstat (limited to 'keyboards/handwired/promethium/keymaps')
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c6
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c
index 534a2986cb..21dd99d95a 100644
--- a/keyboards/handwired/promethium/keymaps/default/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/default/keymap.c
@@ -1272,7 +1272,7 @@ void set_output_user(uint8_t output) {
#endif
}
-void matrix_init_user() {
+void matrix_init_user(void) {
wait_ms(500); // give time for usb to initialize
set_unicode_input_mode(UNICODE_MODE_LINUX);
@@ -1292,7 +1292,7 @@ void matrix_init_user() {
#endif
}
-void turn_off_capslock() {
+void turn_off_capslock(void) {
if (capslock) {
register_code(KC_CAPS);
unregister_code(KC_CAPS);
@@ -1323,7 +1323,7 @@ void turn_off_capslock() {
#endif
#ifdef PS2_MOUSE_ENABLE
- void ps2_mouse_init_user() {
+ void ps2_mouse_init_user(void) {
uint8_t rcv;
// set TrackPoint sensitivity
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
index 4271073549..1ebf63037b 100644
--- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
@@ -1275,7 +1275,7 @@ void set_output_user(uint8_t output) {
#endif
}
-void matrix_init_user() {
+void matrix_init_user(void) {
wait_ms(500); // give time for usb to initialize
set_unicode_input_mode(UNICODE_MODE_LINUX);
@@ -1295,7 +1295,7 @@ void matrix_init_user() {
#endif
}
-void turn_off_capslock() {
+void turn_off_capslock(void) {
if (capslock) {
register_code(KC_CAPS);
unregister_code(KC_CAPS);
@@ -1326,7 +1326,7 @@ void turn_off_capslock() {
#endif
#ifdef PS2_MOUSE_ENABLE
- void ps2_mouse_init_user() {
+ void ps2_mouse_init_user(void) {
uint8_t rcv;
// set TrackPoint sensitivity