Browse Source

Fix CardInfo with BUILTIN_SDCARD

main
PaulStoffregen 4 years ago
parent
commit
03071e943e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h View File

@@ -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();

Loading…
Cancel
Save