summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-06 14:38:33 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-06 14:38:33 +1100
commitdee47949cc8782c2d565de6d6b7e5c1339000061 (patch)
treeeb38ed3ad01c6e293585838c52ec3cb928119956 /docs/esp8266/tutorial
parentd3bb3e38df3fcb2b980d37e06fde7eac9e689f6a (diff)
downloadmicropython-dee47949cc8782c2d565de6d6b7e5c1339000061.tar.gz
micropython-dee47949cc8782c2d565de6d6b7e5c1339000061.zip
extmod/machine_spi: Remove EVENT_POLL_HOOK from soft-SPI transfer func.
SPI needs to be fast, and calling the EVENT_POLL_HOOK every byte makes it unusable for ports that need to do non-trivial work in the EVENT_POLL_HOOK call. And individual SPI transfers should be short enough in time that EVENT_POLL_HOOK doesn't need to be called. If something like this proves to be needed in practice then we will need to introduce separate event hook macros, one for "slow" loops (eg select/poll) and one for "fast" loops (eg software I2C, SPI).
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions