summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-09 20:24:02 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-07-29 20:09:31 +0200
commita6577b272e763303fc1a86bd54888e6f2b43cb37 (patch)
tree1389d04324b6c701503e1398492a138a2a0f9d3c /keyboards
parentbf1c865c7a5d21cd7967bf676cafd18fc9f2254d (diff)
downloadqmk_firmware-a6577b272e763303fc1a86bd54888e6f2b43cb37.tar.gz
qmk_firmware-a6577b272e763303fc1a86bd54888e6f2b43cb37.tar.xz
Define weak matrix user function for Infinity Ergodox
So that a few keyboards, which don't use them, links properly.
Diffstat (limited to 'keyboards')
-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 d33c54441..f89e046d0 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