diff options
author | Travis Geiselbrecht <travisg@google.com> | 2012-06-25 00:56:53 -0700 |
---|---|---|
committer | Travis Geiselbrecht <travisg@google.com> | 2012-06-25 23:30:44 -0700 |
commit | 54297ccd7ba83c7b631b39f0aafb480c0d1d10dc (patch) | |
tree | 7749b05d62b32e6618c7067224376f1521653831 | |
parent | 6a4f43630e1d0d2bf9300f12810f5bb4bd67bf93 (diff) | |
download | adk2012-54297ccd7ba83c7b631b39f0aafb480c0d1d10dc.tar.gz |
fix bug in usb's TRACE_OTG macro
-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(...) () |