mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 05:44:11 +08:00
更新ff.h的引用路径
This commit is contained in:
parent
b9cb4abda6
commit
4965ad943d
@ -7,7 +7,7 @@
|
|||||||
/* storage control modules to the FatFs module with a defined API. */
|
/* storage control modules to the FatFs module with a defined API. */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fatfs/ff.h" /* Obtains integer types */
|
#include "ff.h" /* Obtains integer types */
|
||||||
#include "fatfs/diskio.h" /* Declarations of disk functions */
|
#include "fatfs/diskio.h" /* Declarations of disk functions */
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "drivers/tmio.h"
|
#include "drivers/tmio.h"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/* A Sample Code of User Provided OS Dependent Functions for FatFs */
|
/* A Sample Code of User Provided OS Dependent Functions for FatFs */
|
||||||
/*------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fatfs/ff.h"
|
#include "ff.h"
|
||||||
|
|
||||||
|
|
||||||
#if FF_USE_LFN == 3 /* Use dynamic memory allocation */
|
#if FF_USE_LFN == 3 /* Use dynamic memory allocation */
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "error_codes.h"
|
#include "error_codes.h"
|
||||||
#include "fs.h"
|
#include "fs.h"
|
||||||
#include "fatfs/ff.h"
|
#include "ff.h"
|
||||||
|
|
||||||
|
|
||||||
static const char *const g_fsPathTable[FS_MAX_DRIVES] = {FS_DRIVE_NAMES};
|
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;
|
return SDMMC_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "fatfs/ff.h" // Needed for the "byte" type used in diskio.h.
|
#include "ff.h" // Needed for the "byte" type used in diskio.h.
|
||||||
#include "fatfs/diskio.h"
|
#include "diskio.h"
|
||||||
u8 SDMMC_getDiskStatus(const u8 devNum)
|
u8 SDMMC_getDiskStatus(const u8 devNum)
|
||||||
{
|
{
|
||||||
if(devNum > SDMMC_MAX_DEV_NUM) return STA_NODISK | STA_NOINIT;
|
if(devNum > SDMMC_MAX_DEV_NUM) return STA_NODISK | STA_NOINIT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user