mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 01:17:07 +06:00
trying to fix LEDs
This commit is contained in:
parent
3af2bca1fc
commit
5a70cb30ee
|
@ -242,26 +242,26 @@ void matrix_init_user(void) {
|
||||||
// Runs constantly in the background, in a loop.
|
// Runs constantly in the background, in a loop.
|
||||||
void matrix_scan_user(void) {
|
void matrix_scan_user(void) {
|
||||||
|
|
||||||
// uint8_t layer = biton32(layer_state);
|
uint8_t layer = biton32(layer_state);
|
||||||
//
|
|
||||||
// ergodox_board_led_off();
|
ergodox_board_led_off();
|
||||||
// ergodox_right_led_1_off();
|
ergodox_right_led_1_off();
|
||||||
// ergodox_right_led_2_off();
|
ergodox_right_led_2_off();
|
||||||
// ergodox_right_led_3_off();
|
ergodox_right_led_3_off();
|
||||||
// switch (layer) {
|
switch (layer) {
|
||||||
// case INTL:
|
case INTL:
|
||||||
// case INSF:
|
case INSF:
|
||||||
// ergodox_right_led_1_on();
|
ergodox_right_led_1_on();
|
||||||
// break;
|
break;
|
||||||
// case NUMP:
|
case NUMP:
|
||||||
// ergodox_right_led_2_on();
|
ergodox_right_led_2_on();
|
||||||
// break;
|
break;
|
||||||
// case ARRW:
|
case ARRW:
|
||||||
// ergodox_right_led_3_on();
|
ergodox_right_led_3_on();
|
||||||
// break;
|
break;
|
||||||
// default:
|
default:
|
||||||
// // none
|
// none
|
||||||
// break;
|
break;
|
||||||
// }
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user