summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial/pins.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-11-29 11:33:29 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-02 23:25:36 +1100
commitd6e051082af51566d4a16dc90f89da75a5007c06 (patch)
treedd7afcf8c9d1ce3c0a6df0f02fd6d06cbc28453a /docs/esp8266/tutorial/pins.rst
parent7f24c297787cd4bd92647f407017acbecdb0f949 (diff)
downloadmicropython-d6e051082af51566d4a16dc90f89da75a5007c06.tar.gz
micropython-d6e051082af51566d4a16dc90f89da75a5007c06.zip
extmod/modbluetooth: Simplify how BLE IRQ callback is scheduled.
Instead of enqueue_irq() inspecting the ringbuf to decide whether to schedule the IRQ callback (if ringbuf is empty), maintain a flag that knows if the callback is on the schedule queue or not. This saves about 150 bytes of code (for stm32 builds), and simplifies all uses of enqueue_irq() and schedule_ringbuf().
Diffstat (limited to 'docs/esp8266/tutorial/pins.rst')
0 files changed, 0 insertions, 0 deletions