Conversation
jnohlgard
left a comment
There was a problem hiding this comment.
Looks fine, one minor comment.
| do { | ||
| if (_dyn_spi_rxtx_byte(card, SD_CARD_DUMMY_BYTE, &read_byte) == 1) { | ||
| if (read_byte == 0xFF) { | ||
| if (read_byte == (char)0xFF) { |
There was a problem hiding this comment.
I think it is better to change the type of read_byte to uint8_t, here and in the other read_byte variables as well
There was a problem hiding this comment.
Yes I prefer that too. Will change.
|
While fixing @gebart comment I found an extensive use of I don't mind to do it here, just want opinions. |
|
I'd vote for simply adding the |
|
So @gebart what's your opinion on this? |
|
@kYc0o I'm OK if you want to change the buffer pointer types from char to uint8_t (for this driver and test only) in this PR. |
|
What is this PR waiting for? |
|
My actions, I have other things in the queue but I'll work on this ASAP. |
|
Well apparently this was fixed by #7919 but following another approach. Should we close this and leave it as is or a more clean solutions should be pursued here? |
While compiling tests/driver_sdcard_spi with clang in OS X it discovers several minor issues.
This PR fixes them.