From ba78bd9ba834260d035a9830726afc34fdad2a15 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 18 Oct 2009 23:32:54 +0200 Subject: import firmware from LEGO v1.05 --- ATmega48/Source/stdconst.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ATmega48/Source/stdconst.h (limited to 'ATmega48/Source/stdconst.h') diff --git a/ATmega48/Source/stdconst.h b/ATmega48/Source/stdconst.h new file mode 100644 index 0000000..392633e --- /dev/null +++ b/ATmega48/Source/stdconst.h @@ -0,0 +1,44 @@ +// +// Programmer +// +// Date init 14.12.2004 +// +// Reviser $Author:: Dkandlun $ +// +// Revision date $Date:: 28-12-04 14:19 $ +// +// Filename $Workfile:: stdconst.h $ +// +// Version $Revision:: 1 $ +// +// Archive $Archive:: /LMS2006/Sys01/Peripheral/Firmware/Source/stdc $ +// +// Platform C +// + + +#ifndef STDCONST +#define STDCONST + + +#define TRUE 1 +#define FALSE 0 + +typedef unsigned char UCHAR; +typedef unsigned short USHORT; +typedef unsigned char UBYTE; +typedef signed char SBYTE; +typedef unsigned int UWORD; +typedef signed int SWORD; +typedef unsigned long ULONG; +typedef signed long SLONG; + +typedef ULONG* PULONG; +typedef USHORT* PUSHORT; +typedef UCHAR* PUCHAR; +typedef char* PSZ; + +#define BASETYPES + + +#endif -- cgit v1.2.3