mirror of
https://github.com/DazzlingOkami/FatFs.git
synced 2025-11-16 04:24:35 +00:00
User can override ffconf.h
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
/*---------------------------------------------------------------------------/
|
||||
/ Configurations of FatFs Module
|
||||
/---------------------------------------------------------------------------*/
|
||||
#define FF_STRINGIZE(x) FF_STRINGIZE2(x)
|
||||
#define FF_STRINGIZE2(x) #x
|
||||
|
||||
#define FFCONF_DEF 5380 /* Revision ID */
|
||||
|
||||
/* User can override ffconf.h
|
||||
/ FF_CONFIG as a header file to include (-DFF_CONFIG=ff_config.h) */
|
||||
#ifdef FF_CONFIG
|
||||
#include FF_STRINGIZE(FF_CONFIG)
|
||||
#else
|
||||
/*---------------------------------------------------------------------------/
|
||||
/ Function Configurations
|
||||
/---------------------------------------------------------------------------*/
|
||||
@@ -294,3 +301,4 @@
|
||||
|
||||
|
||||
/*--- End of configuration options ---*/
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user