From dde6709434e5a379e5c923bd250c2cab46884695 Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Mon, 25 Jun 2012 00:56:53 -0700 Subject: fix bug in usb's TRACE_OTG macro --- MakefileBasedBuild/app/conf_usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(...) () -- cgit v1.2.3