We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e178fe commit c7c3746Copy full SHA for c7c3746
libraries/SBU/examples/SBU_LoadBinary/SBU_LoadBinary.ino
@@ -23,7 +23,7 @@ void setup() {
23
for(unsigned long now = millis(); !Serial && ((now - start) < 5000); now = millis()) { };
24
25
Serial.print("Accessing SARA Filesystem... ");
26
- if(!fileUtils.begin()) {
+ if(!fileUtils.begin(false)) {
27
Serial.println("failed.");
28
return;
29
libraries/SBU/extras/SBUBoot/SBUBoot.ino
@@ -49,7 +49,7 @@ int main()
49
// Try to update only if update file
50
// has been download successfully.
51
52
- if (fileUtils.existFile(CHECK_FILE_NAME)) {
+ if (fileUtils.listFile(CHECK_FILE_NAME)) {
53
uint32_t updateSize = fileUtils.listFile(UPDATE_FILE_NAME);
54
uint32_t tot_bytes = 0;
55
uint32_t read_bytes = 0;
0 commit comments