Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force single r/w operation #20

Merged
merged 1 commit into from
Jun 2, 2018

Conversation

nxet
Copy link
Contributor

@nxet nxet commented May 10, 2018

read/write functions accept the parameter force, which is passed to _set_address.
adds the new class variable _force_last to track the status and keep the ioctl call after the if statement.

tested on OPiZero + DSx RTC (shows up at 0xUU with i2cdetect). switching force mode, device address and register, all seemed to be working fine.

read/write functions accept the parameter `force`, which is passed to `_set_address`.
adds the new class variable `_force_last` to track the status and keep the ioctl call after the if statement.

tested on OPiZero + DSx RTC (shows up at 0xUU with i2cdetect) and switching force mode, device address and register, all seemed to be working fine.
@kplindegaard
Copy link
Owner

@nxet Thanks! I'll update the patch version number and release+publish when I have time.

@kplindegaard kplindegaard merged commit 60819c7 into kplindegaard:master Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants