sdcard.cpp: bugfix file end -> close
This commit is contained in:
1 parent
793c407f34
commit
581a3aafa5
1 file changed
+2
-1
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user