cluepad.c 355 B

123456789101112131415
  1. #include "cluepad.h"
  2. void matrix_init_kb(void) {
  3. // put your keyboard start-up code here
  4. // runs once when the firmware starts up
  5. matrix_init_user();
  6. #ifdef BACKLIGHT_ENABLE
  7. init_backlight_pin();
  8. #endif
  9. // JTAG disable for PORT F. write JTD bit twice within four cycles.
  10. MCUCR |= (1<<JTD);
  11. MCUCR |= (1<<JTD);
  12. };