00001 /* This file has been prepared for Doxygen automatic documentation generation.*/ 00030 #ifndef _MAIN_H 00031 #define _MAIN_H 00032 00033 00034 //****************************************************************************** 00035 // Firmware revision 00036 //****************************************************************************** 00037 #define SWHIGH 1 00038 #define SWLOW 0 00039 00040 00041 //****************************************************************************** 00042 // Battery type (add appropriate *charge.c to project!) 00043 //****************************************************************************** 00044 //#define NIMH //!< Use specs and state menu for NIMH. 00045 #define LIION 00046 00047 00048 //****************************************************************************** 00049 // Basic definitions 00050 //****************************************************************************** 00051 #define FALSE 0 00052 #define TRUE (!FALSE) 00053 #define ZERO 0 00054 00055 00056 //****************************************************************************** 00057 // Global variables 00058 //****************************************************************************** 00059 extern unsigned char CurrentState; 00060 00061 00062 #endif //_MAIN_H