![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Diff: R_Sw_Check.h
- Revision:
- 0:8e3468376286
diff -r 000000000000 -r 8e3468376286 R_Sw_Check.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/R_Sw_Check.h Sat May 07 12:37:10 2011 +0000 @@ -0,0 +1,31 @@ +/*****************************************************/ +/* Rotary Switch Check.h */ +/* */ +/* */ +/*****************************************************/ + +#ifndef _SW_CHECK_INCLUDE +#define _SW_CHECK_INCLUDE + +#undef EXTERN +#ifdef SW_CHECK_MAIN +#define EXTERN +#else +#define EXTERN extern +#endif + +// Gloval Valinat + +EXTERN char +#ifdef SW_CHECK_MAIN + g_sw0_0 = 1, g_sw1_0 = 1, g_sw2_0 = 1, g_sw3_0 = 1; +#else + g_sw0_0, g_sw1_0, g_sw2_0, g_sw3_0; +#endif + +// Function + +EXTERN unsigned char ucRotarySwPol(char, char, char, char, char, char, char, char, int*); + +#undef EXTERN +#endif \ No newline at end of file