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