From d00655f598905f7855a2c54081373843c918fa1e Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 25 Apr 2014 15:16:52 +0700 Subject: cdc device app rename CDCD_APP_BUFFER_SIZE to SERIAL_BUFFER_SIZE cdc host app add SERIAL_BUFFER_SIZE for buffer constant, add cdc data receive if cb with TUSB_EVENT_XFER_ERROR minor change to keyboard & mouse host app add ASSERT_FAILED & ASSERT_FAILED_MSG add cast to fix IAR build error with dcd_lpc43xx.c FreeRTOS - merge FreeRTOSConfig for m0, m3, m4 - re-implement application hook - support portmacro.h for m0 --- tinyusb/device/dcd_lpc43xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/device') diff --git a/tinyusb/device/dcd_lpc43xx.c b/tinyusb/device/dcd_lpc43xx.c index 60d8e2fc7..46fb62fc0 100644 --- a/tinyusb/device/dcd_lpc43xx.c +++ b/tinyusb/device/dcd_lpc43xx.c @@ -524,7 +524,7 @@ void xfer_complete_isr(uint8_t coreid, uint32_t reg_complete) //------------- Free QTD and shift array list -------------// p_qtd->used = 0; // free QTD - memmove(p_qhd->list_qtd_idx, p_qhd->list_qtd_idx+1, DCD_QTD_PER_QHD_MAX-1); + memmove( (void*) p_qhd->list_qtd_idx, (void*) (p_qhd->list_qtd_idx+1), DCD_QTD_PER_QHD_MAX-1); p_qhd->list_qtd_idx[DCD_QTD_PER_QHD_MAX-1]=0; if (p_qtd->int_on_complete) -- cgit v1.3.1