Skip to content
Commit c09f6918 authored by Trent Piepho's avatar Trent Piepho Committed by Anas Nashif
Browse files

i2c: Allow dumping the data of read messages



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: default avatarTrent Piepho <trent.piepho@igorinstitute.com>
parent 41883293
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment