This reverts commit 4b3f5c8ed4.
4b3f5c8ed4
- File might not eval to false if opened with write/append and SD is gone - Allow card to be formatted if FAT partition was not found - Mark card as gone in certain situations - Fix several logic errors in low level SD API
to be same as SPIFFS
Fixes: https://github.com/espressif/arduino-esp32/issues/495#issuecomment-31604 2612