From e71a70d23100c178e7300f1c0bddccfc51d99eb7 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 9 May 2022 13:01:12 -0400 Subject: add file browser to movement, remove old app --- movement/filesystem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'movement/filesystem.c') diff --git a/movement/filesystem.c b/movement/filesystem.c index 2a1319fb..559bd53d 100644 --- a/movement/filesystem.c +++ b/movement/filesystem.c @@ -117,9 +117,11 @@ bool filesystem_init(void) { // reformat if we can't mount the filesystem // this should only happen on the first boot if (err) { + printf("Ignore that error! Formatting filesystem...\n"); err = lfs_format(&lfs, &cfg); if (err) return false; err = lfs_mount(&lfs, &cfg) == LFS_ERR_OK; + printf("Filesystem mounted with %d bytes free.\n", filesystem_get_free_space()); } return err == LFS_ERR_OK; -- cgit v1.2.3