Add an argument to i2c_dump_msgs() to log the data from reads too. And then rename the function to i2c_dump_msgs_rw() so the API doesn't change. If the dump is done after a transaction is processed, as opposed to before, then the read data is valid and can be very useful. Signed-off-by: Trent Piepho <trent.piepho@igorinstitute.com> |
||
|---|---|---|
| .. | ||
| espi | ||
| i2c | ||
| CMakeLists.txt | ||
| emul_bmi160.c | ||
| emul.c | ||
| Kconfig | ||