[Toybox] [PATCH] i2cget: add support for reading without passing command
Jarno Mäkipää
jmakip87 at gmail.com
Fri Mar 17 14:23:32 PDT 2023
i2cget can be used without passing command byte
i2cget 3 0x50 0x5F <-- should shift out register 0x5F
i2cget 3 0x50 <-- should shift out register 0x60
---
toys/other/i2ctools.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Related to https://github.com/landley/toybox/issues/414
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i2cget-add-support-for-reading-without-passing-comma.patch
Type: text/x-patch
Size: 1129 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230317/550812b0/attachment.bin>
More information about the Toybox
mailing list