@@ -14,19 +14,19 @@ InternalStorage::InternalStorage(){
1414InternalStorage::InternalStorage (int partition, const char * name, FileSystems fs){
1515 this -> setQSPIPartition (partition);
1616 this -> setQSPIPartitionName (name);
17- this -> fs = fs;
17+ this -> fileSystem = fs;
1818}
1919
2020bool InternalStorage::begin (FileSystems fs){
21- this -> fs = fs;
21+ this -> fileSystem = fs;
2222 return this -> begin ();
2323}
2424
2525bool InternalStorage::begin (){
2626 #if defined(ARDUINO_PORTENTA_C33)
2727 this -> blockDevice = BlockDevice::get_default_instance ();
2828 this -> userData = new MBRBlockDevice (this ->blockDevice , this ->partitionNumber );
29- if (this -> fs == FS_FAT){
29+ if (this -> fileSystem == FS_FAT){
3030 this -> userDataFileSystem = new FATFileSystem (this ->partitionName );
3131 } else {
3232 this -> userDataFileSystem = new LittleFileSystem (this ->partitionName );
@@ -36,7 +36,7 @@ bool InternalStorage::begin(){
3636 #elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_OPTA)
3737 this -> blockDevice = QSPIFBlockDevice::get_default_instance ();
3838 this -> userData = new mbed::MBRBlockDevice (this ->blockDevice , this ->partitionNumber );
39- if (this -> fs == FS_FAT){
39+ if (this -> fileSystem == FS_FAT){
4040
4141 if (this -> userDataFileSystem != nullptr ){
4242 delete (this -> userDataFileSystem);
@@ -75,7 +75,7 @@ void InternalStorage::setQSPIPartitionName(const char * name){
7575bool InternalStorage::format (FileSystems fs){
7676 this -> begin ();
7777 this -> unmount ();
78- this -> fs = fs;
78+ this -> fileSystem = fs;
7979
8080
8181 if (fs == FS_FAT){
0 commit comments