summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-07-26 00:18:29 -0700
committerScott Shawcroft <scott@tannewt.org>2019-08-22 12:34:46 -0700
commit82d436d05e600ab386f43652f865f59b4361f888 (patch)
tree31909f103b238ca2ebc6d5b0defd386779963b9a /py/persistentcode.c
parent18f441ae3519899fbdff5afc2d2e47a94cb36a73 (diff)
Add writeto_then_readfrom to I2C API. Deprecate stop kwarg.
writeto_then_readfrom has been added to do a write -> no stop -> repeated start -> read sequence. This is done to match the capabilities of Blinka on Linux. Code that uses stop=False will not work correctly on Blinka. To fix, if stop=False then use writeto_then_readfrom otherwise use writeto then readfrom_into. First step in #2082
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions