Standardize some hexadecimals
This commit is contained in:
1 parent
ec05408453
commit
d1b619be52
27 files changed
+204
-204
No files matched your search
@@ -83,14 +83,14 @@
|
||||
}
|
||||
|
||||
uint8_t spiRec() {
|
||||
uint8_t b = spiTransfer(0xff);
|
||||
uint8_t b = spiTransfer(0xFF);
|
||||
return b;
|
||||
}
|
||||
|
||||
void spiRead(uint8_t*buf, uint16_t nbyte) {
|
||||
if (nbyte == 0) return;
|
||||
for (int i = 0; i < nbyte; i++) {
|
||||
buf[i] = spiTransfer(0xff);
|
||||
buf[i] = spiTransfer(0xFF);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user