summaryrefslogtreecommitdiff
path: root/py/modarray.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2016-11-30 15:08:34 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2016-12-02 15:46:12 -0800
commit26229efe78f6c5f8598d6f9f1b2261c5a84d7a7b (patch)
tree52db4d80c256af97639543bbc814a238ce7acdc8 /py/modarray.c
parent03f49f8209e9a35524864960c3c90db5343b35b3 (diff)
Add try_lock and unlock to I2C and SPI classes to make sure things
are shared well between threads and underlying MicroPython (SPI Flash for example.) It is recommended to use the bus device classes to manage the locks and other transaction state. https://github.com/adafruit/Adafruit_MicroPython_BusDevice Fixed #58 Fixed #59 Fixed #60
Diffstat (limited to 'py/modarray.c')
0 files changed, 0 insertions, 0 deletions