-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fixed bug in read/write gpio code, and cleaned up some comments #569
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #569 +/- ##
==========================================
- Coverage 51.49% 51.43% -0.07%
==========================================
Files 162 162
Lines 15536 15545 +9
==========================================
- Hits 8001 7996 -5
- Misses 7133 7140 +7
- Partials 402 409 +7
Continue to review full report at Codecov.
|
drivers/i2c/mcp23017_driver_test.go
Outdated
@@ -11,18 +11,18 @@ import ( | |||
"gobot.io/x/gobot/gobottest" | |||
) | |||
|
|||
var _ gobot.Driver = (*MCP23017Driver)(nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave this line alone since it is actually a test that ensures that the driver supports the gobot.Driver
interface, or else it will not compile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reviewing the changes, I've added that line back to the test file.
Thanks @ulisesflynn now merging. |
This fixes bugs found in issue: #568 as well as some general cleanup of the library.