static void unselect_col(uint8_t col);
static void select_col(uint8_t col);
#endif
-__attribute__ ((weak))
-void matrix_init_quantum(void) {
- matrix_init_kb();
-}
-
-__attribute__ ((weak))
-void matrix_scan_quantum(void) {
- matrix_scan_kb();
-}
__attribute__ ((weak))
void matrix_init_kb(void) {
void matrix_init(void)
{
+#ifdef DISABLE_JTAG
+ // JTAG disable for PORT F. write JTD bit twice within four cycles.
+ MCUCR |= (1<<JTD);
+ MCUCR |= (1<<JTD);
+#endif
+
debug_enable = true;
debug_matrix = true;
debug_mouse = true;
if (matrix_changed) {
debouncing = true;
debouncing_time = timer_read();
- PORTD ^= (1 << 2);
}
# else