mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 05:44:11 +08:00
重新调整fatfs的包含路径
This commit is contained in:
parent
4965ad943d
commit
16f369b956
@ -7,7 +7,7 @@
|
||||
/* storage control modules to the FatFs module with a defined API. */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
#include "ff.h" /* Obtains integer types */
|
||||
#include "fatfs/ff.h" /* Obtains integer types */
|
||||
#include "fatfs/diskio.h" /* Declarations of disk functions */
|
||||
#include "types.h"
|
||||
#include "drivers/tmio.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "ff.h" /* Declarations of FatFs API */
|
||||
#include "fatfs/ff.h" /* Declarations of FatFs API */
|
||||
#include "diskio.h" /* Declarations of device I/O functions */
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* A Sample Code of User Provided OS Dependent Functions for FatFs */
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
#include "ff.h"
|
||||
#include "fatfs/ff.h"
|
||||
|
||||
|
||||
#if FF_USE_LFN == 3 /* Use dynamic memory allocation */
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "ff.h"
|
||||
#include "fatfs/ff.h"
|
||||
|
||||
#if FF_USE_LFN != 0 /* This module will be blanked if in non-LFN configuration */
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "types.h"
|
||||
#include "error_codes.h"
|
||||
#include "fs.h"
|
||||
#include "ff.h"
|
||||
#include "fatfs/ff.h"
|
||||
|
||||
|
||||
static const char *const g_fsPathTable[FS_MAX_DRIVES] = {FS_DRIVE_NAMES};
|
||||
|
@ -744,8 +744,8 @@ u32 SDMMC_getCid(const u8 devNum, u32 cidOut[4])
|
||||
return SDMMC_ERR_NONE;
|
||||
}
|
||||
|
||||
#include "ff.h" // Needed for the "byte" type used in diskio.h.
|
||||
#include "diskio.h"
|
||||
#include "fatfs/ff.h" // Needed for the "byte" type used in diskio.h.
|
||||
#include "fatfs/diskio.h"
|
||||
u8 SDMMC_getDiskStatus(const u8 devNum)
|
||||
{
|
||||
if(devNum > SDMMC_MAX_DEV_NUM) return STA_NODISK | STA_NOINIT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user