suppress warnings
This commit is contained in:
parent
cf9a171aa9
commit
f9e1a0ee6c
7 changed files with 56 additions and 22 deletions
|
|
@ -365,6 +365,7 @@ bool Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin) {
|
|||
#if DISABLED(SOFTWARE_SPI)
|
||||
return setSckRate(sckRateID);
|
||||
#else // SOFTWARE_SPI
|
||||
UNUSED(sckRateID);
|
||||
return true;
|
||||
#endif // SOFTWARE_SPI
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue