My File System, no changes from official.

Fork of FATFileSystem by mbed official

Committer:
trevieze
Date:
Fri Feb 10 17:52:03 2017 +0000
Revision:
10:7e20c7e063a5
Parent:
6:a5fcdbf92056
Removed a strange integer type.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 1:46ce1e16c870 1 /*-------------------------------------------*/
emilmont 1:46ce1e16c870 2 /* Integer type definitions for FatFs module */
emilmont 1:46ce1e16c870 3 /*-------------------------------------------*/
emilmont 1:46ce1e16c870 4
mbed_official 5:b3b3370574cf 5 #ifndef _FF_INTEGER
mbed_official 5:b3b3370574cf 6 #define _FF_INTEGER
emilmont 1:46ce1e16c870 7
mbed_official 6:a5fcdbf92056 8 #ifdef _WIN32 /* Development platform */
emilmont 1:46ce1e16c870 9
emilmont 1:46ce1e16c870 10 #include <windows.h>
emilmont 1:46ce1e16c870 11 #include <tchar.h>
emilmont 1:46ce1e16c870 12
mbed_official 5:b3b3370574cf 13 #else /* Embedded platform */
emilmont 1:46ce1e16c870 14
mbed_official 6:a5fcdbf92056 15 /* This type MUST be 8-bit */
mbed_official 5:b3b3370574cf 16 typedef unsigned char BYTE;
emilmont 1:46ce1e16c870 17
mbed_official 6:a5fcdbf92056 18 /* These types MUST be 16-bit */
mbed_official 5:b3b3370574cf 19 typedef short SHORT;
mbed_official 5:b3b3370574cf 20 typedef unsigned short WORD;
mbed_official 5:b3b3370574cf 21 typedef unsigned short WCHAR;
emilmont 1:46ce1e16c870 22
mbed_official 6:a5fcdbf92056 23 /* These types MUST be 16-bit or 32-bit */
trevieze 10:7e20c7e063a5 24 //Would'nt Compile *****
trevieze 10:7e20c7e063a5 25 //typedef int INT; // Not Used Anywhere
mbed_official 5:b3b3370574cf 26 typedef unsigned int UINT;
mbed_official 5:b3b3370574cf 27
mbed_official 6:a5fcdbf92056 28 /* These types MUST be 32-bit */
mbed_official 5:b3b3370574cf 29 typedef long LONG;
mbed_official 5:b3b3370574cf 30 typedef unsigned long DWORD;
emilmont 1:46ce1e16c870 31
emilmont 1:46ce1e16c870 32 #endif
emilmont 1:46ce1e16c870 33
emilmont 1:46ce1e16c870 34 #endif