commit | 3788ce3b8b76f53421fb3d6f4ec6dbafc9711991 | [log] [tgz] |
---|---|---|
author | Sihyun Noh <awake_noh@naver.com> | Wed Apr 19 12:25:11 2023 +0900 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Apr 24 13:34:12 2023 +0200 |
tree | 7c1f4d95fdbc6a320e1d5031225b892e6944cd45 | |
parent | b0baa92f8bbf752a3a4fc972b0e7f421dee17a25 [diff] |
fs: change fatFS initialization to match littleFS. Mounting the disk in a global function can lead to an issue where fatFS cannot be mounted due to it not being registered beforehand. To solve this problem, fatFS is now initialized in POST_KERNEL, just like the littleFS initialization function. fatfs_init must be called before attempting to mounte the disk. Signed-off-by: Sihyun Noh <awake_noh@naver.com>