f7024cff78
* SD Driver: reinit sd card on error * SD Driver: cleanup fatfs bindings * Storage: optimized glue * Storage: move fatfs initialization to appropriate subsystems, minor code cleanup * SD Driver: minor code cleanup Co-authored-by: あく <alleteam@gmail.com>
19 lines
268 B
C
19 lines
268 B
C
#pragma once
|
|
|
|
#include "fatfs/ff.h"
|
|
#include "fatfs/ff_gen_drv.h"
|
|
#include "user_diskio.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** File system object */
|
|
extern FATFS fatfs_object;
|
|
|
|
/** Init file system driver */
|
|
void fatfs_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |