mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-21 01:00:56 +03:00
Fixed USB, problems with CAN
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
#define newline() USB_putbyte('\n')
|
||||
#define USND(s) do{USB_sendstr(s); USB_putbyte('\n');}while(0)
|
||||
|
||||
#define STR_HELPER(s) #s
|
||||
#define STR(s) STR_HELPER(s)
|
||||
|
||||
#ifdef EBUG
|
||||
#define DBG(str) do{USB_sendstr(__FILE__ " (L" STR(__LINE__) "): " str);}while(0)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user