summaryrefslogtreecommitdiffstats
path: root/quantum/encoder/tests/mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/encoder/tests/mock.c')
-rw-r--r--quantum/encoder/tests/mock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/encoder/tests/mock.c b/quantum/encoder/tests/mock.c
index 10a00cb8f2..61f2f8294d 100644
--- a/quantum/encoder/tests/mock.c
+++ b/quantum/encoder/tests/mock.c
@@ -34,3 +34,7 @@ bool setPin(pin_t pin, bool val) {
pins[pin] = val;
return val;
}
+
+__attribute__((weak)) bool is_keyboard_master(void) {
+ return true;
+}