We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051b323 commit 7f1bc1eCopy full SHA for 7f1bc1e
src/utility/ota/OTAStorage_MKRMEM.cpp
@@ -57,7 +57,7 @@ bool OTAStorage_MKRMEM::init()
57
bool OTAStorage_MKRMEM::open()
58
{
59
filesystem.clearerr();
60
- _file = new File(filesystem.open("UPDATE.bin", CREATE | WRITE_ONLY| TRUNCATE));
+ _file = new File(filesystem.open("UPDATE.BIN", CREATE | WRITE_ONLY| TRUNCATE));
61
if(SPIFFS_OK != filesystem.err()) {
62
Debug.print(DBG_ERROR, "OTAStorage_MKRMEM::open - open() failed with error code %d", filesystem.err());
63
delete _file;
@@ -79,7 +79,7 @@ void OTAStorage_MKRMEM::close()
79
80
void OTAStorage_MKRMEM::remove()
81
82
- filesystem.remove("UPDATE.bin");
+ filesystem.remove("UPDATE.BIN");
83
}
84
85
void OTAStorage_MKRMEM::deinit()
0 commit comments