mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
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 |