You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the smbus functions were unimplemented when trying to test my code. I require access to these functions because I use the smbus_* in the driver to communicate to the peripheral. I'm suggesting just having the smbus_* methods do a the appropriate mapping to the already implemented MockI2CDevice's read() and write() methods.
Is there a reason the MockI2CDevice's smbus_* methods weren't implemented? Is it as simple as calling MockI2CDevice's read/write methods or am I missing something larger?
The text was updated successfully, but these errors were encountered:
I found that the smbus functions were unimplemented when trying to test my code. I require access to these functions because I use the
smbus_*
in the driver to communicate to the peripheral. I'm suggesting just having thesmbus_*
methods do a the appropriate mapping to the already implemented MockI2CDevice'sread()
andwrite()
methods.Is there a reason the MockI2CDevice's
smbus_*
methods weren't implemented? Is it as simple as calling MockI2CDevice's read/write methods or am I missing something larger?The text was updated successfully, but these errors were encountered: