diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-07-26 00:18:29 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-08-22 12:34:46 -0700 |
| commit | 82d436d05e600ab386f43652f865f59b4361f888 (patch) | |
| tree | 31909f103b238ca2ebc6d5b0defd386779963b9a /py/stackctrl.c | |
| parent | 18f441ae3519899fbdff5afc2d2e47a94cb36a73 (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/stackctrl.c')
0 files changed, 0 insertions, 0 deletions
