summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/ChangeLog.txt2
-rw-r--r--apps/system/usbmonitor/usbmonitor.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 268278816..9c5a93280 100644
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -659,4 +659,6 @@
* apps/examples/cc3000: Condition the CC3000 example on having
selected the CC3000 device. Otherwise, you are prompted for
this the CC3000 option on each 'make oldconfig' (2013-9-18).
+ * apps/system/usbmonitor/usbmonitor.c: Fix some bad conditional
+ compilation probably introduced on 2013-9-9 (2013-9-23).
diff --git a/apps/system/usbmonitor/usbmonitor.c b/apps/system/usbmonitor/usbmonitor.c
index 447bff57b..f223be540 100644
--- a/apps/system/usbmonitor/usbmonitor.c
+++ b/apps/system/usbmonitor/usbmonitor.c
@@ -74,7 +74,7 @@
/* USB device trace selection */
-#ifdef USBDEV_TRACE
+#ifdef CONFIG_USBDEV_TRACE
# ifdef CONFIG_SYSTEM_USBMONITOR_TRACEINIT
# define TRACE_INIT_BITS (TRACE_INIT_BIT)
# else