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/nek_type_a/mcp23017.c | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'keyboards/nek_type_a/mcp23017.c')
-rw-r--r-- | keyboards/nek_type_a/mcp23017.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/nek_type_a/mcp23017.c b/keyboards/nek_type_a/mcp23017.c index 1434fa56c4..6c8ccb4ff1 100644 --- a/keyboards/nek_type_a/mcp23017.c +++ b/keyboards/nek_type_a/mcp23017.c @@ -53,7 +53,7 @@ void expander_init(void) { } // set IN and HI -void expander_unselect_all() { +void expander_unselect_all(void) { expander_write(EXPANDER_REG_IODIRA, 0xff); expander_write(EXPANDER_REG_IODIRB, 0xff); expander_write(EXPANDER_REG_OLATA, 0xff); @@ -74,7 +74,7 @@ void expander_select(uint8_t pin) { wait_us(EXPANDER_PAUSE); } -void expander_config() { +void expander_config(void) { // set everything to input expander_write(EXPANDER_REG_IODIRA, 0xff); expander_write(EXPANDER_REG_IODIRB, 0xff); |