summaryrefslogtreecommitdiffstats
path: root/quantum/encoder/tests/mock_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/encoder/tests/mock_split.c')
-rw-r--r--quantum/encoder/tests/mock_split.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/encoder/tests/mock_split.c b/quantum/encoder/tests/mock_split.c
index dd3c26d958..5cc6cd19e1 100644
--- a/quantum/encoder/tests/mock_split.c
+++ b/quantum/encoder/tests/mock_split.c
@@ -36,3 +36,7 @@ bool setPin(pin_t pin, bool val) {
}
void last_encoder_activity_trigger(void) {}
+
+__attribute__((weak)) bool is_keyboard_master(void) {
+ return true;
+}