diff options
| author | Radomir Dopieralski <openstack@sheep.art.pl> | 2018-05-23 11:26:16 +0200 |
|---|---|---|
| committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2018-05-23 11:26:16 +0200 |
| commit | 52d05bbc37d063a1fdc359b18b9b112665f92276 (patch) | |
| tree | e639ceb91bf80e5b61522168e9c4a7f6a6bc9c68 /shared-bindings/microcontroller/Processor.c | |
| parent | e274a02ff0b10487b1ce17a29bcc4c5e079f3e7d (diff) | |
Cache pullup state in gamepad
Don't check the pin's pull direction on every tick, instead cache it
at the beginning. Also avoid a "can't get pull of output pin" error
when one of the pins passed is in output mode.
Diffstat (limited to 'shared-bindings/microcontroller/Processor.c')
0 files changed, 0 insertions, 0 deletions
