Nespresso coffee demo working on the Arch Pro
Dependencies: EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer
Fork of mbed_nsdl by
Diff: dbg.h
- Revision:
- 9:9d5b0c43579b
- Parent:
- 0:345864e9ee85
--- a/dbg.h Mon Sep 15 14:14:44 2014 +0000 +++ b/dbg.h Wed Oct 29 18:28:59 2014 +0000 @@ -8,8 +8,8 @@ #define DEBUG 1 #if (DEBUG) -extern Serial pc; -#define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); +extern MODSERIAL console; +#define NSDL_DEBUG(x, ...) console.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); #else #define NSDL_DEBUG(x, ...) #endif