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 /keyboards/converter | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'keyboards/converter')
-rw-r--r-- | keyboards/converter/adb_usb/adb.c | 6 | ||||
-rw-r--r-- | keyboards/converter/hp_46010a/matrix.c | 2 | ||||
-rw-r--r-- | keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/converter/m0110_usb/m0110.c | 12 |
4 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/converter/adb_usb/adb.c b/keyboards/converter/adb_usb/adb.c index 28f14c9fe8..c05bbb53ca 100644 --- a/keyboards/converter/adb_usb/adb.c +++ b/keyboards/converter/adb_usb/adb.c @@ -238,15 +238,15 @@ void adb_host_kbd_led(uint8_t led) { } #ifdef ADB_PSW_BIT -static inline void psw_lo() { +static inline void psw_lo(void) { ADB_DDR |= (1 << ADB_PSW_BIT); ADB_PORT &= ~(1 << ADB_PSW_BIT); } -static inline void psw_hi() { +static inline void psw_hi(void) { ADB_PORT |= (1 << ADB_PSW_BIT); ADB_DDR &= ~(1 << ADB_PSW_BIT); } -static inline bool psw_in() { +static inline bool psw_in(void) { ADB_PORT |= (1 << ADB_PSW_BIT); ADB_DDR &= ~(1 << ADB_PSW_BIT); return ADB_PIN & (1 << ADB_PSW_BIT); diff --git a/keyboards/converter/hp_46010a/matrix.c b/keyboards/converter/hp_46010a/matrix.c index 03fcb2424f..eafe320a3d 100644 --- a/keyboards/converter/hp_46010a/matrix.c +++ b/keyboards/converter/hp_46010a/matrix.c @@ -145,7 +145,7 @@ void Matrix_ThrowByte(void) { return ; } -void matrix_init () { +void matrix_init (void) { // debug_matrix = 1; // PB0 (SS) and PB1 (SCLK) set to outputs DDRB |= RESET | SCLK ; diff --git a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c index f16b349664..0e11fa6779 100644 --- a/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c +++ b/keyboards/converter/ibm_terminal/keymaps/priyadi/keymap.c @@ -297,6 +297,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } -void matrix_init_user() { +void matrix_init_user(void) { set_unicode_input_mode(UNICODE_MODE_LINUX); } diff --git a/keyboards/converter/m0110_usb/m0110.c b/keyboards/converter/m0110_usb/m0110.c index 64f2fa50ab..f3097fb465 100644 --- a/keyboards/converter/m0110_usb/m0110.c +++ b/keyboards/converter/m0110_usb/m0110.c @@ -318,31 +318,31 @@ static inline uint8_t instant(void) { return data; } -static inline void clock_lo() { +static inline void clock_lo(void) { M0110_CLOCK_PORT &= ~(1 << M0110_CLOCK_BIT); M0110_CLOCK_DDR |= (1 << M0110_CLOCK_BIT); } -static inline void clock_hi() { +static inline void clock_hi(void) { /* input with pull up */ M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT); M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT); } -static inline bool clock_in() { +static inline bool clock_in(void) { M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT); M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT); _delay_us(1); return M0110_CLOCK_PIN & (1 << M0110_CLOCK_BIT); } -static inline void data_lo() { +static inline void data_lo(void) { M0110_DATA_PORT &= ~(1 << M0110_DATA_BIT); M0110_DATA_DDR |= (1 << M0110_DATA_BIT); } -static inline void data_hi() { +static inline void data_hi(void) { /* input with pull up */ M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT); M0110_DATA_PORT |= (1 << M0110_DATA_BIT); } -static inline bool data_in() { +static inline bool data_in(void) { M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT); M0110_DATA_PORT |= (1 << M0110_DATA_BIT); _delay_us(1); |