I am trying to use the Log_print0() from one of the Ti Resource Explorer example:
TI-RTOS for MSP430 / MSP430x5xxx Family / MSP320F5529 / Driver Examples / MSP430F5529 Experimenter Board / TI Target Examples / USB Examples / USB CDC Mouse Device
What are the changes required to have the Log_print0() working?
Example:
switch (reportType) {
case USB_REQ_HID_INPUT:
/* Return pointer to input Report Buffer */
Log_print0(Diags_USER1, "USB: USBHID_handleEP0GetReport: USB_REQ_HID_INPUT");
return 0;
case USB_REQ_HID_OUTPUT:
/* Return pointer to OUTput Report Buffer */
Log_print0(Diags_USER1, "USB: USBHID_handleEP0GetReport: USB_REQ_HID_OUTPUT");
return 0;
case USB_REQ_HID_FEATURE:
/* Return pointer to FEATURE Report Buffer */
Log_print0(Diags_USER1, "USB: USBHID_handleEP0GetReport: USB_REQ_HID_FEATURE");
return 0;
default:
Log_print0(Diags_USER1, "USB: USBHID_handleEP0GetReport: default");
return 0;
}
Sylvain