aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/converter/ibm_terminal/matrix.c
diff options
context:
space:
mode:
authorGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-14 22:33:56 +0700
committerGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2016-12-14 22:33:56 +0700
commitdc4923139176c9ecf4e3a914787b584bf4ab5515 (patch)
tree85b0a0f376f450379a2bdbd5988e1086b72ff201 /keyboards/converter/ibm_terminal/matrix.c
parentbd5f323bec8f5bd309eb570a65685f23f44654a3 (diff)
downloadqmk_firmware-dc4923139176c9ecf4e3a914787b584bf4ab5515.tar.gz
Update KEYMAP macro to be consistent with the rest of QMK
Diffstat (limited to 'keyboards/converter/ibm_terminal/matrix.c')
-rw-r--r--keyboards/converter/ibm_terminal/matrix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/converter/ibm_terminal/matrix.c b/keyboards/converter/ibm_terminal/matrix.c
index c0b5971c3..9d717b61f 100644
--- a/keyboards/converter/ibm_terminal/matrix.c
+++ b/keyboards/converter/ibm_terminal/matrix.c
@@ -52,6 +52,10 @@ static uint8_t matrix[MATRIX_ROWS];
#define COL(code) (code&0x07)
+__attribute__ ((weak))
+void matrix_init_user(void) {
+}
+
void matrix_init(void)
{
debug_enable = true;
@@ -64,6 +68,7 @@ void matrix_init(void)
// initialize matrix state: all keys off
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
+ matrix_init_user();
return;
}