mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2025-12-22 22:21:58 +00:00
Add encoder abstraction. (#21548)
This commit is contained in:
@@ -41,7 +41,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
|
||||
bool setAndRead(pin_t pin, bool val) {
|
||||
setPin(pin, val);
|
||||
return encoder_read();
|
||||
return encoder_task();
|
||||
}
|
||||
|
||||
class EncoderTest : public ::testing::Test {};
|
||||
|
||||
Reference in New Issue
Block a user