root / branches / autonomous_recharging / code / projects / autonomous_recharging / dragonfly / recharge_defs.h @ 820
History | View | Annotate | Download (712 Bytes)
1 |
/**
|
---|---|
2 |
* @file recharge_defs.h Recharge_Defs
|
3 |
*
|
4 |
* Definitions used for recharging.
|
5 |
**/
|
6 |
|
7 |
// Recharging group
|
8 |
#define WL_RECHARGE_GROUP 3 |
9 |
|
10 |
#define WL_RECHARGE_POLL_STATIONS 1 |
11 |
#define WL_RECHARGE_STATION_AVAILABLE 2 |
12 |
#define WL_RECHARGE_REQUEST 3 |
13 |
#define WL_RECHARGE_REQUEST_ACCEPT 4 |
14 |
#define WL_RECHARGE_VERIFY 5 |
15 |
#define WL_RECHARGE_CANCEL 6 |
16 |
#define WL_RECHARGE_SEEKING 7 |
17 |
#define WL_RECHARGE_DOCKED 8 |
18 |
#define WL_BATTERY_REQUEST 11 |
19 |
|
20 |
//#define RECHARGE_DEBUG
|
21 |
|
22 |
#define WL_BATTERY_REQUEST 11 |
23 |
#ifdef RECHARGE_DEBUG
|
24 |
#define RECHARGE_DEBUG_PRINT( s ) usb_puts( s )
|
25 |
#define RECHARGE_DEBUG_PUTI( i ) usb_puti( i )
|
26 |
#else
|
27 |
#define RECHARGE_DEBUG_PRINT( s )
|
28 |
#define RECHARGE_DEBUG_PUTI( i )
|
29 |
#endif
|
30 |
|