diff options
Diffstat (limited to 'quantum/encoder/tests/mock_split.c')
| -rw-r--r-- | quantum/encoder/tests/mock_split.c | 4 |
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 @@ | |||
| 19 | bool pins[32] = {0}; | 19 | bool pins[32] = {0}; |
| 20 | bool pinIsInputHigh[32] = {0}; | 20 | bool pinIsInputHigh[32] = {0}; |
| 21 | 21 | ||
| 22 | uint8_t mockSetPinInputHigh(pin_t pin) { | 22 | uint8_t mock_set_pin_input_high(pin_t pin) { |
| 23 | // dprintf("Setting pin %d input high.", pin); | 23 | // dprintf("Setting pin %d input high.", pin); |
| 24 | pins[pin] = true; | 24 | pins[pin] = true; |
| 25 | pinIsInputHigh[pin] = true; | 25 | pinIsInputHigh[pin] = true; |
| 26 | return 0; | 26 | return 0; |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | bool mockReadPin(pin_t pin) { | 29 | bool mock_read_pin(pin_t pin) { |
| 30 | return pins[pin]; | 30 | return pins[pin]; |
| 31 | } | 31 | } |
| 32 | 32 | ||
