diff --git a/src/sdcard.cpp b/src/sdcard.cpp index da204982..e19630c2 100644 --- a/src/sdcard.cpp +++ b/src/sdcard.cpp @@ -16,7 +16,8 @@ File fileSDCard; bool sdcard_close(void) { ESP_LOGD(TAG, "unmounting SD-card"); fileSDCard.flush(); - fileSDCard.end(); + fileSDCard.close(); +return true; } bool sdcard_init(bool create) {