BLE demo for mbed Ported RunningElectronics's SBDBT firmware for BLE. It can communicate with iOS
Dependencies: FatFileSystem mbed
Fork of BTstack by
Diff: usb/mydbg.h
- Revision:
- 5:5fb56e13a1f9
- Parent:
- 0:1ed23ab1345f
--- a/usb/mydbg.h Sun Feb 10 08:44:13 2013 +0000 +++ b/usb/mydbg.h Mon Feb 11 14:10:57 2013 +0000 @@ -1,5 +1,6 @@ #ifndef _MYDBG_H_ #define _MYDBG_H_ + #ifdef __DEBUG #include "Utils.h" #define DBG(...) do{fprintf(stderr,"[%s@%d] ",__PRETTY_FUNCTION__,__LINE__);fprintf(stderr,__VA_ARGS__);} while(0); @@ -16,9 +17,9 @@ #define DBG_LED4(A) while(0); #define DBG_PRINTF(...) while(0); #endif //__DEBUG + #ifdef __DEBUG3 #define DBG3(...) do{fprintf(stderr,"[%s@%d] ",__PRETTY_FUNCTION__,__LINE__);fprintf(stderr,__VA_ARGS__);} while(0); - #else //__DEBUG3 #define DBG3(...) while(0); #endif //__DEBUG3