comparison 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
comparison
equal deleted inserted replaced
215:df63e01ac992 216:c7e32ff65636
45 45
46 #ifdef __18CXX 46 #ifdef __18CXX
47 //------------------------------------------------------------------------ 47 //------------------------------------------------------------------------
48 // C-style declarations: 48 // C-style declarations:
49 # ifdef TEST_MAIN 49 # ifdef TEST_MAIN
50 # define VAR_UCHAR(n) extern unsigned char n 50 # define VAR_UCHAR(n) extern unsigned char n
51 # define TAB_UCHAR(n,size) extern unsigned char n[size] 51 # define TAB_UCHAR(n,size) extern unsigned char n[size]
52 # define VAR_UINT(n) extern unsigned int n 52 # define VAR_UINT(n) extern unsigned short n
53 # define TAB_UINT(n,size) extern unsigned int n[size] 53 # define TAB_UINT(n,size) extern unsigned short n[size]
54 # else 54 # else
55 # define VAR_UCHAR(n) unsigned char n 55 # define VAR_UCHAR(n) unsigned char n
56 # define TAB_UCHAR(n,size) unsigned char n[size] 56 # define TAB_UCHAR(n,size) unsigned char n[size]
57 # define VAR_UINT(n) unsigned int n 57 # define VAR_UINT(n) unsigned short n
58 # define TAB_UINT(n,size) unsigned int n[size] 58 # define TAB_UINT(n,size) unsigned short n[size]
59 # endif 59 # endif
60 #else 60 #else
61 ;------------------------------------------------------------------------- 61 ;-------------------------------------------------------------------------
62 ; ASM-style declarations: 62 ; ASM-style declarations:
63 #define VAR_UCHAR(n) n res 1 63 #define VAR_UCHAR(n) n res 1