usb: Fix incorrect macro assignment

We should prepend CONFIG with macro name, otherwise it is not possible
to enable debug.

Change-Id: I9a4ec4da7607c6bc9894eecc42fe7c4556b62c6b
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-08-08 12:29:40 +03:00 committed by Inaky Perez-Gonzalez
commit 953165cda1

View file

@ -66,7 +66,7 @@
#endif #endif
#include "usb_device.h" #include "usb_device.h"
#define SYS_LOG_LEVEL SYS_LOG_USB_LEVEL #define SYS_LOG_LEVEL CONFIG_SYS_LOG_USB_LEVEL
#define SYS_LOG_NO_NEWLINE #define SYS_LOG_NO_NEWLINE
#include <misc/sys_log.h> #include <misc/sys_log.h>