From c69d225d0af3b2a82c83c4d6c7b22070d59daf53 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 23 Dec 2019 11:50:09 -0600 Subject: [PATCH] Move some things around --- splyte/src/expander.c | 10 +++----- splyte/src/keymaps/default/keymap.c | 36 +++++++++++++------------- splyte/src/rules.mk | 39 +++++++++++++---------------- 3 files changed, 39 insertions(+), 46 deletions(-) diff --git a/splyte/src/expander.c b/splyte/src/expander.c index d122e00..1dfa738 100644 --- a/splyte/src/expander.c +++ b/splyte/src/expander.c @@ -1,4 +1,6 @@ #include +#include +#include #include "action.h" #include "twi_master.h" @@ -74,20 +76,16 @@ void expander_read_cols(void) { } uint8_t expander_get_col(uint8_t col) { - if (col > (MATRIX_COLS / 2) + 1) { - col++; - } return expander_input & (1<