mirror of https://github.com/ARMmbed/mbed-os.git
Change default filesystem name to /default
"/fs" is a tautology - not a good name for the default filing system, as whereever we use it, we know we're specifying a filing system. Rename to "/default".pull/7924/head
parent
a67f09851b
commit
fd4b3879be
File diff suppressed because it is too large
Load Diff
|
@ -80,13 +80,13 @@ MBED_WEAK FileSystem *FileSystem::get_default_instance()
|
||||||
{
|
{
|
||||||
#if COMPONENT_SPIF || COMPONENT_DATAFLASH
|
#if COMPONENT_SPIF || COMPONENT_DATAFLASH
|
||||||
|
|
||||||
static LittleFileSystem default_fs("fs", BlockDevice::get_default_instance());
|
static LittleFileSystem default_fs("default", BlockDevice::get_default_instance());
|
||||||
|
|
||||||
return &default_fs;
|
return &default_fs;
|
||||||
|
|
||||||
#elif COMPONENT_SD
|
#elif COMPONENT_SD
|
||||||
|
|
||||||
static FATFileSystem default_fs("fs", BlockDevice::get_default_instance());
|
static FATFileSystem default_fs("default", BlockDevice::get_default_instance());
|
||||||
|
|
||||||
return &default_fs;
|
return &default_fs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue