1
0
Fork 0

Relocate matrix_init_quantum content (#15953)

* Relocate matrix_init_quantum content

* Update include order

* Fix cherry pick from 15722
This commit is contained in:
Joel Challis 2022-01-23 02:41:57 +00:00 committed by GitHub
parent 8101a836a4
commit a8700404f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 41 deletions

View file

@ -139,8 +139,6 @@ __attribute__((weak)) void matrix_slave_scan_user(void) {}
__attribute__((weak)) void matrix_init(void) {
#ifdef SPLIT_KEYBOARD
split_pre_init();
thisHand = isLeftHand ? 0 : (ROWS_PER_HAND);
thatHand = ROWS_PER_HAND - thisHand;
#endif
@ -156,10 +154,6 @@ __attribute__((weak)) void matrix_init(void) {
debounce_init(ROWS_PER_HAND);
matrix_init_quantum();
#ifdef SPLIT_KEYBOARD
split_post_init();
#endif
}
__attribute__((weak)) uint8_t matrix_scan(void) {