浏览代码

Add SD.begin() to be called more than once

main
PaulStoffregen 5 年前
父节点
当前提交
a4c9800ac3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      SD.cpp

+ 3
- 0
SD.cpp 查看文件

Return true if initialization succeeds, false otherwise. Return true if initialization succeeds, false otherwise.


*/ */

if (root.isOpen()) root.close();

return card.init(SPI_HALF_SPEED, csPin) && return card.init(SPI_HALF_SPEED, csPin) &&
volume.init(card) && volume.init(card) &&
root.openRoot(volume); root.openRoot(volume);

正在加载...
取消
保存