few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
debug.h@0:e2b8246361bc, 2015-06-25 (annotated)
- Committer:
- mfiore
- Date:
- Thu Jun 25 14:52:56 2015 +0000
- Revision:
- 0:e2b8246361bc
- Child:
- 1:e52ae6584f1c
initial commit, main, debug, version, wakeup, doc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mfiore | 0:e2b8246361bc | 1 | #include "mbed.h" |
mfiore | 0:e2b8246361bc | 2 | #include <stdio.h> |
mfiore | 0:e2b8246361bc | 3 | |
mfiore | 0:e2b8246361bc | 4 | // enable to turn on debug prints |
mfiore | 0:e2b8246361bc | 5 | #define DEBUG_MAC 1 |
mfiore | 0:e2b8246361bc | 6 | |
mfiore | 0:e2b8246361bc | 7 | #ifdef DEBUG_MAC |
mfiore | 0:e2b8246361bc | 8 | #define MTS_RADIO_DEBUG_COMMANDS 1 |
mfiore | 0:e2b8246361bc | 9 | #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) |
mfiore | 0:e2b8246361bc | 10 | #else |
mfiore | 0:e2b8246361bc | 11 | #define DEBUG_PRINTF(fmt, args...) |
mfiore | 0:e2b8246361bc | 12 | #endif |