summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Geiselbrecht <travisg@google.com>2012-06-25 00:56:53 -0700
committerTravis Geiselbrecht <travisg@google.com>2012-06-26 07:30:07 -0700
commitdde6709434e5a379e5c923bd250c2cab46884695 (patch)
tree7749b05d62b32e6618c7067224376f1521653831
parentda8b725e8ac2c4f8abc02a0ab0101d6a5df7bdbd (diff)
downloadadk2012_demo-dde6709434e5a379e5c923bd250c2cab46884695.tar.gz
fix bug in usb's TRACE_OTG macro
-rw-r--r--MakefileBasedBuild/app/conf_usb.h2
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(...) ()