Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Nucleo_Ex04_USBPAD by
Diff: USBHost/dbg.h
- Revision:
- 1:94e011434208
- Parent:
- 0:b5f79b4f741d
--- a/USBHost/dbg.h Tue Mar 15 11:39:04 2016 +0000 +++ b/USBHost/dbg.h Thu Apr 28 21:09:39 2016 +0000 @@ -32,8 +32,7 @@ #if (DEBUG > 3) #define USB_DBG(...) do{fprintf(stderr,"[%s@%d] ",__PRETTY_FUNCTION__,__LINE__);fprintf(stderr,__VA_ARGS__);fprintf(stderr,"\r\n");} while(0); //#define USB_DBG(x, ...) std::printf("[USB_DBG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); -#define USB_DBG_HEX(A,B) debug_hex(A,B) -extern void debug_hex(uint8_t* buf, int size); +#define USB_DBG_HEX(A,B) /*debug_hex(A,B)*/ extern void debug_hex(uint8_t* buf, int size); #define USB_DBG_ERRSTAT() report.print_errstat(); #else #define USB_DBG(x, ...)