summaryrefslogtreecommitdiff
path: root/shared-bindings/struct
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2018-05-23 11:26:16 +0200
committerRadomir Dopieralski <openstack@sheep.art.pl>2018-05-23 11:26:16 +0200
commit52d05bbc37d063a1fdc359b18b9b112665f92276 (patch)
treee639ceb91bf80e5b61522168e9c4a7f6a6bc9c68 /shared-bindings/struct
parente274a02ff0b10487b1ce17a29bcc4c5e079f3e7d (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/struct')
0 files changed, 0 insertions, 0 deletions