Skip to content

Add write_then_readinto function for linux (and possibly others!)

Compare
Choose a tag to compare
@ladyada ladyada released this 17 Aug 18:23
76bce0d

Linux (and possibly other smbus-supporting OS's) can't set 'stop' on individual writes, instead, we must call a separate ioctl. We add a check so that if busio doesn't support it, we fall back to two calls instead of one