fork download
  1. extern "C" int8_t CDC_Itf_Receive(uint8_t* Buf, uint32_t* Len)
  2. {
  3. int i = *Len;
  4. while (i)
  5. {
  6. usb_rx_queue->SendFromISR(Buf, &pxHigherPriorityTaskWoken);
  7. Buf++;
  8. i--;
  9. }
  10.  
  11. USBD_CDC_ReceivePacket(&USBD_Device);
  12.  
  13. return (USBD_OK);
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:12: error: ‘int8_t’ does not name a type; did you mean ‘int’?
 extern "C" int8_t CDC_Itf_Receive(uint8_t* Buf, uint32_t* Len)
            ^~~~~~
            int
stdout
Standard output is empty