Add pin_t to Marln 1.1 branch
This commit is contained in:
parent
36ba754842
commit
9dd8a49f82
8 changed files with 67 additions and 63 deletions
|
|
@ -297,7 +297,7 @@ bool Sd2Card::eraseSingleBlockEnable() {
|
|||
* \return true for success, false for failure.
|
||||
* The reason for failure can be determined by calling errorCode() and errorData().
|
||||
*/
|
||||
bool Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin) {
|
||||
bool Sd2Card::init(uint8_t sckRateID, pin_t chipSelectPin) {
|
||||
errorCode_ = type_ = 0;
|
||||
chipSelectPin_ = chipSelectPin;
|
||||
// 16-bit init start time allows over a minute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue