Various general cleanups
Mostly from the L6470-oriented PR
This commit is contained in:
@ -110,7 +110,7 @@ bool Sd2Card::init(const uint8_t sckRateID/*=0*/, const pin_t chipSelectPin/*=SD
|
||||
|
||||
const uint32_t sectorSize = bulk.GetSectorSize(0);
|
||||
if (sectorSize != 512) {
|
||||
SERIAL_ECHOLNPAIR("Expecting sector size of 512, got:", sectorSize);
|
||||
SERIAL_ECHOLNPAIR("Expecting sector size of 512. Got: ", sectorSize);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,7 @@ bool MAX3421e::start() {
|
||||
|
||||
const uint8_t revision = regRd(rREVISION);
|
||||
if (revision == 0x00 || revision == 0xFF) {
|
||||
SERIAL_ECHOLNPAIR("Revision register appears incorrect on MAX3421e initialization, got ", revision);
|
||||
SERIAL_ECHOLNPAIR("Revision register appears incorrect on MAX3421e initialization. Got ", revision);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user