Add pin_t to Marln 1.1 branch

This commit is contained in:
Scott Lahteine 2018-02-08 20:42:12 -06:00
parent 36ba754842
commit 9dd8a49f82
8 changed files with 67 additions and 63 deletions

View file

@ -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