diff options
-rw-r--r-- | MakefileBasedBuild/app/conf_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MakefileBasedBuild/app/conf_usb.h b/MakefileBasedBuild/app/conf_usb.h index 0d7f81e..76142f4 100644 --- a/MakefileBasedBuild/app/conf_usb.h +++ b/MakefileBasedBuild/app/conf_usb.h @@ -23,7 +23,7 @@ #if TRACE_USB #define LOG_STR(...) (dbgPrintf(__VA_ARGS__),dbgPrintf("\n\r")) -#define TRACE_OTG(fmt, ...) do{ dbgPrintf("%s %ld: " fmt, __func__, fwkGetUptime(), ##__VA_ARGS__); } while (0) +#define TRACE_OTG(fmt, ...) do{ dbgPrintf("%s %ld: " fmt, __func__, (uint32_t)fwkGetUptime(), ##__VA_ARGS__); } while (0) #define TRACE_OTG_NONL(fmt, ...) do{ dbgPrintf(fmt, ##__VA_ARGS__); } while (0) #else #define LOG_STR(...) () |