소스 검색

Define weak matrix user function for Infinity Ergodox

So that a few keyboards, which don't use them, links properly.
Fred Sundvik 9 년 전
부모
커밋
a6577b272e
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  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