]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Define weak matrix user function for Infinity Ergodox
authorFred Sundvik <fsundvik@gmail.com>
Sat, 9 Jul 2016 18:24:02 +0000 (21:24 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Fri, 29 Jul 2016 18:09:31 +0000 (21:09 +0300)
So that a few keyboards, which don't use them, links properly.

keyboards/ergodox/infinity/infinity.c

index d33c544419e165176fdd9b4dc38375b865f60522..f89e046d0d475fd250570c5f69e045201fc1e029 100644 (file)
@@ -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