FatFs updated to R13a

This commit is contained in:
UncleRus 2017-12-12 09:40:21 +05:00
parent 61f23d0cf4
commit 7f010ef1fe
17 changed files with 17946 additions and 32756 deletions

View file

@ -2,8 +2,8 @@
/* Integer type definitions for FatFs module */
/*-------------------------------------------*/
#ifndef _FF_INTEGER
#define _FF_INTEGER
#ifndef FF_INTEGER
#define FF_INTEGER
#ifdef _WIN32 /* FatFs development platform */
@ -11,29 +11,27 @@
#include <tchar.h>
typedef unsigned __int64 QWORD;
#else /* Embedded platform */
#include <stddef.h>
#include <stdint.h>
/* These types MUST be 16-bit or 32-bit */
typedef int INT;
typedef unsigned int UINT;
typedef int INT;
typedef unsigned int UINT;
/* This type MUST be 8-bit */
typedef uint8_t BYTE;
typedef unsigned char BYTE;
/* These types MUST be 16-bit */
typedef int16_t SHORT;
typedef uint16_t WORD;
typedef uint16_t WCHAR;
typedef short SHORT;
typedef unsigned short WORD;
typedef unsigned short WCHAR;
/* These types MUST be 32-bit */
typedef int32_t LONG;
typedef uint32_t DWORD;
typedef long LONG;
typedef unsigned long DWORD;
/* This type MUST be 64-bit (Remove this for C89 compatibility) */
typedef uint64_t QWORD;
/* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */
typedef unsigned long long QWORD;
#endif