diff options
| author | Ryan <fauxpark@gmail.com> | 2023-01-21 03:21:17 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 16:21:17 +0000 |
| commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
| tree | cb7dc41b774171ce7036f963941ce801e868d8cd /quantum/process_keycode/process_auto_shift.c | |
| parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) | |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'quantum/process_keycode/process_auto_shift.c')
| -rw-r--r-- | quantum/process_keycode/process_auto_shift.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_auto_shift.c b/quantum/process_keycode/process_auto_shift.c index aaf0cf9142..aad1a164ae 100644 --- a/quantum/process_keycode/process_auto_shift.c +++ b/quantum/process_keycode/process_auto_shift.c | |||
| @@ -344,7 +344,7 @@ bool get_autoshift_state(void) { | |||
| 344 | return autoshift_flags.enabled; | 344 | return autoshift_flags.enabled; |
| 345 | } | 345 | } |
| 346 | 346 | ||
| 347 | uint16_t get_generic_autoshift_timeout() { | 347 | uint16_t get_generic_autoshift_timeout(void) { |
| 348 | return autoshift_timeout; | 348 | return autoshift_timeout; |
| 349 | } | 349 | } |
| 350 | __attribute__((weak)) uint16_t get_autoshift_timeout(uint16_t keycode, keyrecord_t *record) { | 350 | __attribute__((weak)) uint16_t get_autoshift_timeout(uint16_t keycode, keyrecord_t *record) { |
| @@ -484,7 +484,7 @@ void retroshift_poll_time(keyevent_t *event) { | |||
| 484 | retroshift_time = timer_read(); | 484 | retroshift_time = timer_read(); |
| 485 | } | 485 | } |
| 486 | // Used to swap the times of Retro Shifted key and Auto Shift key that interrupted it. | 486 | // Used to swap the times of Retro Shifted key and Auto Shift key that interrupted it. |
| 487 | void retroshift_swap_times() { | 487 | void retroshift_swap_times(void) { |
| 488 | if (last_retroshift_time != 0 && autoshift_flags.in_progress) { | 488 | if (last_retroshift_time != 0 && autoshift_flags.in_progress) { |
| 489 | uint16_t temp = retroshift_time; | 489 | uint16_t temp = retroshift_time; |
| 490 | retroshift_time = last_retroshift_time; | 490 | retroshift_time = last_retroshift_time; |
