Skip to content

Commit

Permalink
Fix CardInfo with BUILTIN_SDCARD
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Nov 1, 2020
1 parent 50f0655 commit 03071e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SD.h
Expand Up @@ -158,7 +158,7 @@ class Sd2Card
{
public:
bool init(uint8_t speed, uint8_t csPin) {
return SD.sdfs.begin(csPin);
return SD.begin(csPin);
}
uint8_t type() {
return SD.sdfs.card()->type();
Expand Down

0 comments on commit 03071e9

Please sign in to comment.