-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers: misc fixes for encx24j600 #5255
Conversation
@@ -96,12 +96,13 @@ void encx24j600_setup(encx24j600_t *dev, const encx24j600_params_t *params) | |||
static void encx24j600_isr(void *arg) | |||
{ | |||
encx24j600_t *dev = (encx24j600_t *) arg; | |||
netdev2_t *netdev = (netdev2_t *) arg; |
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.
wouldn't it be simpler, if you cast arg
only to netdev2_t *
and use that instead of dev->netdev.
below?
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.
no time to fix
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.
ok, it's only cosmetic anyway.
changes look good, ACK once my comment has been addressed. |
Murdock is happy -> go |
The driver didn't compile for a while, so this PR
The test application is basically a copy of tests/driver_enc28j60.