summaryrefslogtreecommitdiff
path: root/quantum/encoder/tests/mock_split.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-02-17 00:18:26 +1100
committerGitHub <noreply@github.com>2024-02-17 00:18:26 +1100
commitb8646bc40bd616167da150f6da4eda372f7de23d (patch)
tree8029e1180ff0666a07d8ef896461333a836611fa /quantum/encoder/tests/mock_split.c
parent6890c1aeb82c0c2239841db57e1bd99c3a0651a5 (diff)
Update naming convention for GPIO control macros (#23085)
Diffstat (limited to 'quantum/encoder/tests/mock_split.c')
-rw-r--r--quantum/encoder/tests/mock_split.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/encoder/tests/mock_split.c b/quantum/encoder/tests/mock_split.c
index 5cc6cd19e1..f024c2058d 100644
--- a/quantum/encoder/tests/mock_split.c
+++ b/quantum/encoder/tests/mock_split.c
@@ -19,14 +19,14 @@
bool pins[32] = {0};
bool pinIsInputHigh[32] = {0};
-uint8_t mockSetPinInputHigh(pin_t pin) {
+uint8_t mock_set_pin_input_high(pin_t pin) {
// dprintf("Setting pin %d input high.", pin);
pins[pin] = true;
pinIsInputHigh[pin] = true;
return 0;
}
-bool mockReadPin(pin_t pin) {
+bool mock_read_pin(pin_t pin) {
return pins[pin];
}