Merge branch 'led'
This commit is contained in:
commit
8fc6c265d1
2 changed files with 12 additions and 5 deletions
|
@ -96,6 +96,15 @@ void proc_matrix(void) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (modified) {
|
||||
#ifdef DEBUG_LED
|
||||
// LED flash for debug
|
||||
DEBUG_LED_CONFIG;
|
||||
DEBUG_LED_OFF;
|
||||
#endif
|
||||
}
|
||||
|
||||
layer_switching(fn_bits);
|
||||
|
||||
// when 4 left modifier keys down
|
||||
|
@ -224,10 +233,5 @@ void proc_matrix(void) {
|
|||
//Rollover
|
||||
}
|
||||
usb_keyboard_send();
|
||||
#ifdef DEBUG_LED
|
||||
// LED flash for debug
|
||||
DEBUG_LED_CONFIG;
|
||||
DEBUG_LED_OFF;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
3
tmk.c
3
tmk.c
|
@ -49,6 +49,9 @@ bool debug_mouse = false;
|
|||
|
||||
int main(void)
|
||||
{
|
||||
DEBUG_LED_CONFIG;
|
||||
DEBUG_LED_OFF;
|
||||
|
||||
// set for 16 MHz clock
|
||||
CPU_PRESCALE(0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue