summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-09 21:24:02 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-29 21:09:31 +0300
commita6577b272e763303fc1a86bd54888e6f2b43cb37 (patch)
tree1389d04324b6c701503e1398492a138a2a0f9d3c
parentbf1c865c7a5d21cd7967bf676cafd18fc9f2254d (diff)
Define weak matrix user function for Infinity Ergodox
So that a few keyboards, which don't use them, links properly.
-rw-r--r--keyboards/ergodox/infinity/infinity.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/ergodox/infinity/infinity.c b/keyboards/ergodox/infinity/infinity.c
index d33c544419..f89e046d0d 100644
--- a/keyboards/ergodox/infinity/infinity.c
+++ b/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