更新ff.h的引用路径

This commit is contained in:
a92126 2024-10-08 16:10:27 +08:00
parent b9cb4abda6
commit 4965ad943d
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
/* 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 "types.h"
#include "drivers/tmio.h"

View File

@ -2,7 +2,7 @@
/* 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 */

View File

@ -19,7 +19,7 @@
#include "types.h"
#include "error_codes.h"
#include "fs.h"
#include "fatfs/ff.h"
#include "ff.h"
static const char *const g_fsPathTable[FS_MAX_DRIVES] = {FS_DRIVE_NAMES};

View File

@ -744,8 +744,8 @@ u32 SDMMC_getCid(const u8 devNum, u32 cidOut[4])
return SDMMC_ERR_NONE;
}
#include "fatfs/ff.h" // Needed for the "byte" type used in diskio.h.
#include "fatfs/diskio.h"
#include "ff.h" // Needed for the "byte" type used in diskio.h.
#include "diskio.h"
u8 SDMMC_getDiskStatus(const u8 devNum)
{
if(devNum > SDMMC_MAX_DEV_NUM) return STA_NODISK | STA_NOINIT;