Bmag incl gps rettelse
Dependencies: mbed WDT MODSERIAL BME280
USBHost/FATFileSystem/ChaN/integer.h@64:06b9b8ffd5a6, 2019-07-09 (annotated)
- Committer:
- gert_lauritsen
- Date:
- Tue Jul 09 09:54:41 2019 +0000
- Branch:
- MbedBMAGThrRev
- Revision:
- 64:06b9b8ffd5a6
- Parent:
- 61:52a6d0ffd8e5
dataline version to 4 and fw til 1.0.0.7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gert_lauritsen | 61:52a6d0ffd8e5 | 1 | /*-------------------------------------------*/ |
gert_lauritsen | 61:52a6d0ffd8e5 | 2 | /* Integer type definitions for FatFs module */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 3 | /*-------------------------------------------*/ |
gert_lauritsen | 61:52a6d0ffd8e5 | 4 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 5 | #ifndef _FF_INTEGER |
gert_lauritsen | 61:52a6d0ffd8e5 | 6 | #define _FF_INTEGER |
gert_lauritsen | 61:52a6d0ffd8e5 | 7 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 8 | #ifdef _WIN32 /* Development platform */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 9 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 10 | #include <windows.h> |
gert_lauritsen | 61:52a6d0ffd8e5 | 11 | #include <tchar.h> |
gert_lauritsen | 61:52a6d0ffd8e5 | 12 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 13 | #else /* Embedded platform */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 14 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 15 | /* This type MUST be 8-bit */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 16 | typedef unsigned char BYTE; |
gert_lauritsen | 61:52a6d0ffd8e5 | 17 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 18 | /* These types MUST be 16-bit */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 19 | typedef short SHORT; |
gert_lauritsen | 61:52a6d0ffd8e5 | 20 | typedef unsigned short WORD; |
gert_lauritsen | 61:52a6d0ffd8e5 | 21 | typedef unsigned short WCHAR; |
gert_lauritsen | 61:52a6d0ffd8e5 | 22 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 23 | /* These types MUST be 16-bit or 32-bit */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 24 | typedef int INT; |
gert_lauritsen | 61:52a6d0ffd8e5 | 25 | typedef unsigned int UINT; |
gert_lauritsen | 61:52a6d0ffd8e5 | 26 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 27 | /* These types MUST be 32-bit */ |
gert_lauritsen | 61:52a6d0ffd8e5 | 28 | typedef long LONG; |
gert_lauritsen | 61:52a6d0ffd8e5 | 29 | typedef unsigned long DWORD; |
gert_lauritsen | 61:52a6d0ffd8e5 | 30 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 31 | #endif |
gert_lauritsen | 61:52a6d0ffd8e5 | 32 | |
gert_lauritsen | 61:52a6d0ffd8e5 | 33 | #endif |