-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/samd5x: improve isr buffer handling #21486
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
Conversation
cpu/samd5x/periph/can.c
Outdated
printf("Tx buffer|\t0x%08" PRIx32 "|\t%" PRIu32 "\n", | ||
(uint32_t)(dev->msg_ram_conf.tx_fifo_queue), | ||
(uint32_t)(ARRAY_SIZE(dev->msg_ram_conf.tx_fifo_queue))); | ||
printf("Standard filters|\t%p|\t%u\n", (dev->msg_ram.std_filter), |
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.
Hu, why going from formatting macros back to %p
and %u
?
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.
readability avoid unnecessary cast - i somehow thought newlib is C99 compliant -- will fix that
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.
for that array size thing i stayed with u
May I squash ? |
1fd9f34
to
1d3fea3
Compare
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.
see inline. feel free to squash at will
415f3b2
to
3139df7
Compare
c44244c
to
ca5a322
Compare
Thanks for the reviewes |
Contribution description
Testing procedure
Issues/PRs references