Skip to content

Commit 8821f41

Browse files
committed
make cardCommand public
1 parent 6b1c14e commit 8821f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/Sd2Card.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ class Sd2Card {
241241
uint8_t writeStart(uint32_t blockNumber, uint32_t eraseCount);
242242
uint8_t writeStop(void);
243243
uint8_t isBusy(void);
244+
uint8_t cardCommand(uint8_t cmd, uint32_t arg);
244245
private:
245246
uint32_t block_;
246247
uint8_t chipSelectPin_;
@@ -255,7 +256,6 @@ class Sd2Card {
255256
cardCommand(CMD55, 0);
256257
return cardCommand(cmd, arg);
257258
}
258-
uint8_t cardCommand(uint8_t cmd, uint32_t arg);
259259
void error(uint8_t code) {
260260
errorCode_ = code;
261261
}

0 commit comments

Comments
 (0)