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). switching force mode, device address and register, all seemed to be working fine.