Project

General

Profile

Revision 361

added constant for battery packets

View differences:

branches/autonomous_recharging/code/projects/autonomous_recharging/dragonfly/recharge_defs.h
1
//#define RECHARGE_DEBUG
2

  
3
#ifdef RECHARGE_DEBUG
4
#define RECHARGE_DEBUG_PRINT( s ) usb_puts( s )
5
#define RECHARGE_DEBUG_PUTI( i ) usb_puti( i )
6
#else
7
#define RECHARGE_DEBUG_PRINT( s )
8
#define RECHARGE_DEBUG_PUTI( i )
9
#endif
10

  
1
//#define RECHARGE_DEBUG
2

  
3
#ifdef RECHARGE_DEBUG
4
#define WL_BATTERY_REQUEST 11
5
#define RECHARGE_DEBUG_PRINT( s ) usb_puts( s )
6
#define RECHARGE_DEBUG_PUTI( i ) usb_puti( i )
7
#else
8
#define RECHARGE_DEBUG_PRINT( s )
9
#define RECHARGE_DEBUG_PUTI( i )
10
#endif
11

  

Also available in: Unified diff