Mercurial > public > mk2
diff code_part1/OSTC_code_c_part2/shared_definitions.h @ 216:c7e32ff65636
BUGFIX typo when last stop is just below 3m.
author | JeanDo |
---|---|
date | Thu, 24 Feb 2011 23:22:14 +0100 |
parents | 2d9af08ed0ac |
children | 638f8e17bd51 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/shared_definitions.h Wed Feb 23 19:11:29 2011 +0100 +++ b/code_part1/OSTC_code_c_part2/shared_definitions.h Thu Feb 24 23:22:14 2011 +0100 @@ -47,15 +47,15 @@ //------------------------------------------------------------------------ // C-style declarations: # ifdef TEST_MAIN -# define VAR_UCHAR(n) extern unsigned char n -# define TAB_UCHAR(n,size) extern unsigned char n[size] -# define VAR_UINT(n) extern unsigned int n -# define TAB_UINT(n,size) extern unsigned int n[size] +# define VAR_UCHAR(n) extern unsigned char n +# define TAB_UCHAR(n,size) extern unsigned char n[size] +# define VAR_UINT(n) extern unsigned short n +# define TAB_UINT(n,size) extern unsigned short n[size] # else -# define VAR_UCHAR(n) unsigned char n -# define TAB_UCHAR(n,size) unsigned char n[size] -# define VAR_UINT(n) unsigned int n -# define TAB_UINT(n,size) unsigned int n[size] +# define VAR_UCHAR(n) unsigned char n +# define TAB_UCHAR(n,size) unsigned char n[size] +# define VAR_UINT(n) unsigned short n +# define TAB_UINT(n,size) unsigned short n[size] # endif #else ;-------------------------------------------------------------------------