added all assert check to osal_queue_send and osal_semaphore_post

This commit is contained in:
hathach
2014-04-24 23:57:21 +07:00
parent 6804fee0fa
commit dbf276ad6f
8 changed files with 32 additions and 27 deletions

View File

@@ -91,7 +91,7 @@ void tusbd_cdc_xfer_cb(uint8_t coreid, tusb_event_t event, cdc_pipeid_t pipe_id,
{
fifo_write(&fifo_serial, serial_rx_buffer+i);
}
osal_semaphore_post(sem_hdl); // notify main task
(void) osal_semaphore_post(sem_hdl); // notify main task
break;
case TUSB_EVENT_XFER_ERROR: