Merge pull request #141 from DavidLin1577/patch-6

Update tos_ffconf.h
This commit is contained in:
Arthur
2020-04-18 09:55:00 +08:00
committed by GitHub
2 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#ifndef _TOS_FATFS_DRV_H_
#define _TOS_FATFS_DRV_H_
#ifndef _FATFS_DRV_H_
#define _FATFS_DRV_H_
#include "tos_hal.h"
@@ -13,5 +13,4 @@ int MMC_disk_status(hal_sd_state_t *sd_state);
int MMC_disk_ioctl(BYTE cmd, void *buff);
#endif
#endif /*_FATFS_DRV_H_*/

View File

@@ -1,6 +1,12 @@
/*---------------------------------------------------------------------------/
/ FatFs Functional Configurations
/---------------------------------------------------------------------------*/
#ifndef _FFCONF_DEFINED
#define _FFCONF_DEFINED
#ifdef __cplusplus
extern "C" {
#endif
#define FFCONF_DEF 86604 /* Revision ID */
@@ -284,5 +290,9 @@
/ included somewhere in the scope of ff.h. */
#ifdef __cplusplus
}
#endif
#endif/* _FFCONF_DEFINED */
/*--- End of configuration options ---*/