manual picking from ChibiOS migration branch
This commit is contained in:
parent
11d174a9bd
commit
20ebc8d7b5
|
@ -2,8 +2,8 @@
|
||||||
/* Integer type definitions for FatFs module */
|
/* Integer type definitions for FatFs module */
|
||||||
/*-------------------------------------------*/
|
/*-------------------------------------------*/
|
||||||
|
|
||||||
#ifndef _INTEGER
|
#ifndef _FF_INTEGER
|
||||||
#define _INTEGER
|
#define _FF_INTEGER
|
||||||
|
|
||||||
#ifdef _WIN32 /* FatFs development platform */
|
#ifdef _WIN32 /* FatFs development platform */
|
||||||
|
|
||||||
|
@ -12,24 +12,20 @@
|
||||||
|
|
||||||
#else /* Embedded platform */
|
#else /* Embedded platform */
|
||||||
|
|
||||||
/* These types must be 16-bit, 32-bit or larger integer */
|
/* This type MUST be 8 bit */
|
||||||
typedef int INT;
|
|
||||||
typedef unsigned int UINT;
|
|
||||||
|
|
||||||
/* These types must be 8-bit integer */
|
|
||||||
typedef char CHAR;
|
|
||||||
typedef unsigned char UCHAR;
|
|
||||||
typedef unsigned char BYTE;
|
typedef unsigned char BYTE;
|
||||||
|
|
||||||
/* These types must be 16-bit integer */
|
/* These types MUST be 16 bit */
|
||||||
typedef short SHORT;
|
typedef short SHORT;
|
||||||
typedef unsigned short USHORT;
|
|
||||||
typedef unsigned short WORD;
|
typedef unsigned short WORD;
|
||||||
typedef unsigned short WCHAR;
|
typedef unsigned short WCHAR;
|
||||||
|
|
||||||
/* These types must be 32-bit integer */
|
/* These types MUST be 16 bit or 32 bit */
|
||||||
|
typedef int INT;
|
||||||
|
typedef unsigned int UINT;
|
||||||
|
|
||||||
|
/* These types MUST be 32 bit */
|
||||||
typedef long LONG;
|
typedef long LONG;
|
||||||
typedef unsigned long ULONG;
|
|
||||||
typedef unsigned long DWORD;
|
typedef unsigned long DWORD;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue