summaryrefslogtreecommitdiff
path: root/keyboards/nek_type_a/mcp23017.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nek_type_a/mcp23017.c')
-rw-r--r--keyboards/nek_type_a/mcp23017.c4
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);