diff options
| author | Nick Brassel <nick@tzarc.org> | 2024-02-18 21:17:15 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-18 21:17:15 +1100 |
| commit | 9d9cdaaa2d035787b0b50c26f2975695fdbc16f4 (patch) | |
| tree | 1a9f5d16ffc0e3bd27bc14791c25405a79ccd069 /quantum/encoder/tests/encoder_tests.cpp | |
| parent | 2eb9ff8efd1df2c98724481c71c8ab8a5b62e31e (diff) | |
Add encoder abstraction. (#21548)
Diffstat (limited to 'quantum/encoder/tests/encoder_tests.cpp')
| -rw-r--r-- | quantum/encoder/tests/encoder_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/encoder/tests/encoder_tests.cpp b/quantum/encoder/tests/encoder_tests.cpp index b7c18aeec0..499e413aed 100644 --- a/quantum/encoder/tests/encoder_tests.cpp +++ b/quantum/encoder/tests/encoder_tests.cpp | |||
| @@ -41,7 +41,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { | |||
| 41 | 41 | ||
| 42 | bool setAndRead(pin_t pin, bool val) { | 42 | bool setAndRead(pin_t pin, bool val) { |
| 43 | setPin(pin, val); | 43 | setPin(pin, val); |
| 44 | return encoder_read(); | 44 | return encoder_task(); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | class EncoderTest : public ::testing::Test {}; | 47 | class EncoderTest : public ::testing::Test {}; |
