AnsweredAssumed Answered

MQX 3.5.1 little bug inside USB in host_debug.h

Question asked by ShinjiIkari on Apr 1, 2010
Latest reply on Apr 23, 2010 by Juraj Vanco

When I enable this define for the debug

#define _HOST_DEBUG_

there is a compilation problem,

#define DEBUG_LOG_TRACE(x) printf("\n%s",x);


the ; is an error because in the rest of the code when used DEBUG_LOG_TRACE there is always

...example code in host_main.c...


DEBUG_LOG_TRACE("_usb_host_init host state malloc failure");  

with ;