You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
396 B

  1. #include "planck.h"
  2. void * matrix_init_user(void) {
  3. };
  4. void * matrix_scan_user(void) {
  5. };
  6. void *matrix_init_kb(void) {
  7. #ifdef BACKLIGHT_ENABLE
  8. backlight_init_ports();
  9. #endif
  10. // Turn status LED on
  11. DDRE |= (1<<6);
  12. PORTE |= (1<<6);
  13. if (matrix_init_user) {
  14. (*matrix_init_user)();
  15. }
  16. };
  17. void *matrix_scan_kb(void) {
  18. if (matrix_scan_user) {
  19. (*matrix_scan_user)();
  20. }
  21. };