summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial/filesystem.rst
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-11-20 10:45:14 +1100
committerDamien George <damien.p.george@gmail.com>2019-11-25 17:32:10 +1100
commite873d352ada8c392985e9f248271c5cf0fcd32ed (patch)
tree4963b1c140a7b76725e299281b36545c362c7994 /docs/esp8266/tutorial/filesystem.rst
parentfbb7646e3bd6fd17b2c39ac40d537cc0b07af188 (diff)
downloadmicropython-e873d352ada8c392985e9f248271c5cf0fcd32ed.tar.gz
micropython-e873d352ada8c392985e9f248271c5cf0fcd32ed.zip
extmod/modbluetooth: Simplify management of pre-allocated event data.
The address, adv payload and uuid fields of the event are pre-allocated by modbluetooth, and reused in the IRQ handler. Simplify this and move all storage into the `mp_obj_bluetooth_ble_t` instance. This now allows users to hold on to a reference to these instances without crashes, although they may be overwritten by future events. If they want to hold onto the values longer term they need to copy them.
Diffstat (limited to 'docs/esp8266/tutorial/filesystem.rst')
0 files changed, 0 insertions, 0 deletions