BLE UART example
Fork of Nucleo_BLE_BlueNRG by
platform/inc/debug.h@0:a948f5f3904c, 2014-12-19 (annotated)
- Committer:
- sjallouli
- Date:
- Fri Dec 19 18:56:07 2014 +0000
- Revision:
- 0:a948f5f3904c
BLE_BlueNRG for Nucleo board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sjallouli | 0:a948f5f3904c | 1 | /****************************************************************************** |
sjallouli | 0:a948f5f3904c | 2 | * Includes |
sjallouli | 0:a948f5f3904c | 3 | *****************************************************************************/ |
sjallouli | 0:a948f5f3904c | 4 | #include <string.h> |
sjallouli | 0:a948f5f3904c | 5 | |
sjallouli | 0:a948f5f3904c | 6 | //#define DEBUG |
sjallouli | 0:a948f5f3904c | 7 | |
sjallouli | 0:a948f5f3904c | 8 | #ifdef DEBUG |
sjallouli | 0:a948f5f3904c | 9 | #include <stdio.h> |
sjallouli | 0:a948f5f3904c | 10 | #define PRINTF(...) printf(__VA_ARGS__) |
sjallouli | 0:a948f5f3904c | 11 | #else |
sjallouli | 0:a948f5f3904c | 12 | #define PRINTF(...) |
sjallouli | 0:a948f5f3904c | 13 | #endif |
sjallouli | 0:a948f5f3904c | 14 |