Fix build errors (#359)
* brings gh60 up-to-date (needs testing) * brings hhkb up-to-date (needs testing) * brings jd45 up-to-date (needs testing)
This commit is contained in:
committed by
Jack Humbert
parent
536ad6813a
commit
b85dd60397
@@ -56,7 +56,7 @@ SRC = hhkb_qmk.c \
|
||||
ifdef KEYMAP
|
||||
SRC := keymaps/keymaps/$(KEYMAP).c $(SRC)
|
||||
else
|
||||
SRC := keymaps/keymaps/default.c $(SRC)
|
||||
SRC := keymaps/default.c $(SRC)
|
||||
endif
|
||||
|
||||
CONFIG_H = config.h
|
||||
|
||||
@@ -188,6 +188,14 @@ void matrix_print(void)
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t matrix_key_count(void) {
|
||||
uint8_t count = 0;
|
||||
for (int8_t r = MATRIX_ROWS - 1; r >= 0; --r) {
|
||||
count += bitpop16(matrix_get_row(r));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
void matrix_power_up(void) {
|
||||
KEY_POWER_ON();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user