HI
I am now using MQX in my custom mcf52259 board,the HID device example work, but the virtual com has something strange, the PC can find the virtual com, but I can't change baudrate in device manager of microsoft windows.,and can't send or receive any data.
I read MQX source code, find a strange thing, see below:
void USB_Framework_Periodic_Task(void)
{
/* if control request pending to be completed */
if(g_control_pending==TRUE)
{ /* handle pending control request */
USB_Control_Service(&g_f_event);
g_control_pending=FALSE;
}
}
void USB_Framework_Periodic_Task(void){ /* if control request pending to be completed */ if(g_control_pending==TRUE) { /* handle pending control request */
USB_Control_Service(&g_f_event);
g_control_pending=FALSE;
}
}
but the USB_Control_Service prototype is :
void USB_Control_Service (PTR_USB_EVENT_STRUCT event,pointer arg )
SO, in USB_Framework_Periodic_Task function call it without the second argument
is it a bug??