瀏覽代碼

Fix CardInfo with BUILTIN_SDCARD

main
PaulStoffregen 4 年之前
父節點
當前提交
03071e943e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h 查看文件

@@ -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…
取消
儲存