Brian Daniels / Mbed 2 deprecated nespresso_demo

Dependencies:   EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer

Fork of mbed_nsdl by Nespresso RGB Sensor

Committer:
bjblazkowicz
Date:
Wed Oct 29 18:28:59 2014 +0000
Revision:
9:9d5b0c43579b
Parent:
0:345864e9ee85
Switched to using MODSERIAL.; Added BLE beacon resource.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GeofferyOmlette 0:345864e9ee85 1 #ifndef DEBUG_H
GeofferyOmlette 0:345864e9ee85 2 #define DEBUG_H
GeofferyOmlette 0:345864e9ee85 3
GeofferyOmlette 0:345864e9ee85 4 #include "nsdl_support.h"
GeofferyOmlette 0:345864e9ee85 5 #include "mbed.h"
GeofferyOmlette 0:345864e9ee85 6
GeofferyOmlette 0:345864e9ee85 7 //Debug is disabled by default
GeofferyOmlette 0:345864e9ee85 8 #define DEBUG 1
GeofferyOmlette 0:345864e9ee85 9
GeofferyOmlette 0:345864e9ee85 10 #if (DEBUG)
bjblazkowicz 9:9d5b0c43579b 11 extern MODSERIAL console;
bjblazkowicz 9:9d5b0c43579b 12 #define NSDL_DEBUG(x, ...) console.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
GeofferyOmlette 0:345864e9ee85 13 #else
GeofferyOmlette 0:345864e9ee85 14 #define NSDL_DEBUG(x, ...)
GeofferyOmlette 0:345864e9ee85 15 #endif
GeofferyOmlette 0:345864e9ee85 16
GeofferyOmlette 0:345864e9ee85 17 #endif