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
This would help ensure behavior across all the device classes using these builders, as there currently is some variation depending upon when the class was added to the code base (i.e. some builders throw exceptions when the device is already created and others do not)1.
I didn't find a whole lot of current devices that have "dual interfaces", so there may not be a lot of refactoring involved, but would likely help for future additions.
1Not a criticism by any means -- my own stuff gets out of date within days. 😏
The text was updated successfully, but these errors were encountered:
To ensure more consistency across devices, I would suggest that the
I2CBuilder
andSPIBuilder
classes get some abstraction. For example:This would help ensure behavior across all the device classes using these builders, as there currently is some variation depending upon when the class was added to the code base (i.e. some builders throw exceptions when the
device
is already created and others do not)1.I didn't find a whole lot of current devices that have "dual interfaces", so there may not be a lot of refactoring involved, but would likely help for future additions.
1Not a criticism by any means -- my own stuff gets out of date within days. 😏
The text was updated successfully, but these errors were encountered: