Created
December 22, 2020 09:28
-
-
Save x29a/a3a0b5dfded4d718e566a72ad23c21f1 to your computer and use it in GitHub Desktop.
SMA Q2 nRF broken filesystem fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file location: components/libraries/fds/fds.c | |
// Initialize the page structure (m_pages), and determine which | |
// initialization steps are required given the current state of the filesystem. | |
fds_init_opts_t init_opts = pages_init(); | |
if (init_opts == NO_PAGES) | |
{ | |
// try a reformat of the flash | |
init_opts = FRESH_INSTALL; | |
// instead of returning an error | |
//return FDS_ERR_NO_PAGES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment