sdcard.cpp: bugfix file end -> close
This commit is contained in:
parent
793c407f34
commit
581a3aafa5
@ -16,7 +16,8 @@ File fileSDCard;
|
|||||||
bool sdcard_close(void) {
|
bool sdcard_close(void) {
|
||||||
ESP_LOGD(TAG, "unmounting SD-card");
|
ESP_LOGD(TAG, "unmounting SD-card");
|
||||||
fileSDCard.flush();
|
fileSDCard.flush();
|
||||||
fileSDCard.end();
|
fileSDCard.close();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool sdcard_init(bool create) {
|
bool sdcard_init(bool create) {
|
||||||
|
Loading…
Reference in New Issue
Block a user