瀏覽代碼

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