Selaa lähdekoodia

Define weak matrix user function for Infinity Ergodox

So that a few keyboards, which don't use them, links properly.
Fred Sundvik 9 vuotta sitten
vanhempi
sitoutus
a6577b272e
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      keyboards/ergodox/infinity/infinity.c

+ 9 - 0
keyboards/ergodox/infinity/infinity.c

@@ -78,6 +78,15 @@ void lcd_backlight_hal_color(uint16_t r, uint16_t g, uint16_t b) {
 }
 #endif
 
+__attribute__ ((weak))
+void matrix_init_user(void) {
+}
+
+__attribute__ ((weak))
+void matrix_scan_user(void) {
+}
+
+
 void matrix_init_kb(void) {
 	// put your keyboard start-up code here
 	// runs once when the firmware starts up