1
0
Fork 0

Move QMK LUFA bootloader config to data driven (#19879)

This commit is contained in:
Ryan 2023-02-23 09:20:23 +11:00 committed by GitHub
parent 7f805cc779
commit 3bf01bb9ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
109 changed files with 217 additions and 225 deletions

View file

@ -19,7 +19,7 @@
#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, F0, F1, F4, F5, F6, F7 }
#define MATRIX_ROW_PINS { C7, D5, D3, D2 }
#define QMK_LED E6
#define ADM42_LED E6
#define RGB_DI_PIN B7

View file

@ -174,7 +174,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case REFLASH:
eeconfig_init();
eeconfig_update_rgb_matrix_default();
writePinLow(QMK_LED);
writePinLow(ADM42_LED);
reset_keyboard();
return false;
@ -184,21 +184,21 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
void keyboard_pre_init_kb(void) {
setPinOutput(QMK_LED);
writePinHigh(QMK_LED);
setPinOutput(ADM42_LED);
writePinHigh(ADM42_LED);
}
void keyboard_post_init_kb(void) {
debug_enable = true;
debug_matrix = false;
debug_keyboard = false;
writePinHigh(QMK_LED);
writePinHigh(ADM42_LED);
}
void suspend_power_down_kb(void) {
writePinLow(QMK_LED);
writePinLow(ADM42_LED);
}
void suspend_wakeup_init_kb(void) {
writePinHigh(QMK_LED);
writePinHigh(ADM42_LED);
}