few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
Diff: debug.h
- Revision:
- 0:e2b8246361bc
- Child:
- 1:e52ae6584f1c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debug.h Thu Jun 25 14:52:56 2015 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include <stdio.h> + +// enable to turn on debug prints +#define DEBUG_MAC 1 + +#ifdef DEBUG_MAC + #define MTS_RADIO_DEBUG_COMMANDS 1 + #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) +#else + #define DEBUG_PRINTF(fmt, args...) +#endif \ No newline at end of file