Skip to content

Commit

Permalink
Comment out lfsFileSystemReady and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed May 6, 2024
1 parent e76950b commit 6531bf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion targets/ChibiOS/_littlefs/hal_littlefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

mutex_t lfs_mutex[LITTLEFS_INSTANCES_COUNT];

//bool lfsFileSystemReady;
// bool lfsFileSystemReady;
lfs_t lfs[LITTLEFS_INSTANCES_COUNT];
struct lfs_config lfsConfig[LITTLEFS_INSTANCES_COUNT];
int8_t lfsInstanceIndex[LITTLEFS_INSTANCES_COUNT];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ HRESULT Library_nf_sys_io_filesystem_System_IO_DriveInfo::GetDrivesNative___STAT
CLR_RT_HeapBlock &top = stack.PushValueAndClear();

#if defined(NF_FEATURE_USE_LITTLEFS) && (NF_FEATURE_USE_LITTLEFS == TRUE)
// is littlefs file system available and mounted?
if (lfsFileSystemReady)
{
// get SPIFFS instances count
driveCount += hal_lfs_get_instances_count();
}
// // is littlefs file system available and mounted?
// if (lfsFileSystemReady)
// {
// // get SPIFFS instances count
// driveCount += hal_lfs_get_instances_count();
// }

#endif

Expand Down

0 comments on commit 6531bf3

Please sign in to comment.