mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 13:54:09 +08:00
更新包含路径
This commit is contained in:
parent
ed39122b89
commit
77a30eeec2
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "error_codes.h"
|
#include "error_codes.h"
|
||||||
#include "fatfs/source/ff.h"
|
#include "fatfs/ff.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
/* storage control modules to the FatFs module with a defined API. */
|
/* storage control modules to the FatFs module with a defined API. */
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fatfs/source/ff.h" /* Obtains integer types */
|
#include "fatfs/ff.h" /* Obtains integer types */
|
||||||
#include "fatfs/source/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"
|
||||||
#include "drivers/mmc/sdmmc.h"
|
#include "drivers/mmc/sdmmc.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/source/ff.h"
|
#include "fatfs/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/source/ff.h"
|
#include "fatfs/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/source/ff.h" // Needed for the "byte" type used in diskio.h.
|
#include "fatfs/ff.h" // Needed for the "byte" type used in diskio.h.
|
||||||
#include "fatfs/source/diskio.h"
|
#include "fatfs/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