Skip to content

Commit f126620

Browse files
updating little breaking change in examples
1 parent 5dbc43b commit f126620

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/AdvancedUSBInternalOperations/AdvancedUSBInternalOperations.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
// Two instances are made for the USB and internal storage respectively
2929
USBStorage usbStorage = USBStorage();
30-
InternalStorage internalStorage = InternalStorage(2, "user");
30+
InternalStorage internalStorage = InternalStorage(2, "user", FS_FAT);
3131

3232
// Helper function to prints the contents of a folder, including subdirectories (marked as "[D]") and files (marked as "[F]").
3333
void printFolderContents(Folder dir, int indentation = 0) {

examples/SimpleStorageWriteRead/SimpleStorageWriteRead.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void printFolderContents(Folder dir, int indentation = 0) {
5151
// Uncomment one of the three lines below to select between SD card, USB or internal storage
5252
//SDStorage unifiedStorage = SDStorage(); // Create an instance for interacting with SD card storage
5353
//USBStorage unifiedStorage = USBStorage() // Create an instance for interacting with USB storage
54-
InternalStorage internalStorage = InternalStorage(2, "user"); // Create an instance for interacting with internal Flash storage (default)
54+
InternalStorage internalStorage = InternalStorage(2, "user", FS_FAT); // Create an instance for interacting with internal Flash storage (default)
5555

5656
void setup() {
5757
Serial.begin(115200);

0 commit comments

Comments
 (0)