boards/sim/sim/sim/src/sim_bringup.c: Force format little fs before mount.

This commit is contained in:
chao.an
2019-12-16 08:55:35 -06:00
committed by Gregory Nutt
parent 541bfe9a5e
commit 3c472dcf52
+1 -1
View File
@@ -214,7 +214,7 @@ int sim_bringup(void)
/* Mount the LittleFS file system */
ret = mount("/dev/rammtd", "/mnt/lfs", "littlefs", 0, "autoformat");
ret = mount("/dev/rammtd", "/mnt/lfs", "littlefs", 0, "forceformat");
if (ret < 0)
{
syslog(LOG_ERR,