Merge pull request #319 from hathach/add-esp32s2

port ESP32 S2
This commit is contained in:
Ha Thach
2020-04-10 23:53:03 +07:00
committed by GitHub
40 changed files with 2412 additions and 74 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ void tud_task (void)
uint8_t const epnum = tu_edpt_number(ep_addr);
uint8_t const ep_dir = tu_edpt_dir(ep_addr);
TU_LOG2(" Endpoint: 0x%02X, Bytes: %ld\r\n", ep_addr, event.xfer_complete.len);
TU_LOG2(" Endpoint: 0x%02X, Bytes: %u\r\n", ep_addr, (unsigned int) event.xfer_complete.len);
_usbd_dev.ep_status[epnum][ep_dir].busy = false;