mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-27 13:48:56 +08:00

In the sysfs i2cDevice implementation, use an ioctl to get the adapter functionality mask. Prefer SMBus block I/O but if it's not available, perform read/write calls directly on the file descriptor. Improve Wiichuck error handling. Add a 1 ms delay between I/O operations to the Wiichuck; this dramatically improves reliability. Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>