Skip to content

Commit 3592f5b

Browse files
opta fixes 3
1 parent 19b8540 commit 3592f5b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

extras/tests/TestExisting/TestExisting.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Arduino_UnifiedStorage.h>
22

3-
InternalStorage internalStorage = InternalStorage(2, "user", FS_LITTLEFS);
3+
InternalStorage internalStorage = InternalStorage();
44

55

66
void setup() {

extras/tests/TestRepeatedFormatMount/TestRepeatedFormatMount.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Arduino_UnifiedStorage.h>
22

3-
if !defined(ARDUINO_OPTA)
3+
#if !defined(ARDUINO_OPTA)
44
#define HAS_SD
55
#endif
66

extras/tests/TestUnified/TestUnified.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Arduino_UnifiedStorage.h>
22

3-
if !defined(ARDUINO_OPTA)
3+
#if !defined(ARDUINO_OPTA)
44
#define HAS_SD
55
#endif
66

src/SDStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SDStorage::SDStorage(){
99
}
1010

1111
bool SDStorage::begin(){
12-
return mount(DEV_SDCARD, this->fileSystem, MNT_DEFAULT)== 0 ? true : false;
12+
return mount(DEV_SDCARD, this->fileSystem, MNT_DEFAULT) == 0 ? true : false;
1313
}
1414

1515
bool SDStorage::begin(FileSystems fs){

0 commit comments

Comments
 (0)