summaryrefslogtreecommitdiff
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, 3 insertions, 1 deletions
diff --git a/quantum/encoder/tests/mock_split.c b/quantum/encoder/tests/mock_split.c
index 68bf3af599..dd3c26d958 100644
--- a/quantum/encoder/tests/mock_split.c
+++ b/quantum/encoder/tests/mock_split.c
@@ -26,7 +26,9 @@ uint8_t mockSetPinInputHigh(pin_t pin) {
return 0;
}
-bool mockReadPin(pin_t pin) { return pins[pin]; }
+bool mockReadPin(pin_t pin) {
+ return pins[pin];
+}
bool setPin(pin_t pin, bool val) {
pins[pin] = val;