Explorar el Código

Add link to info about usb_tx_packet_count() function & USB packet latency

main
PaulStoffregen hace 5 años
padre
commit
fa1f446555
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      teensy3/usb_dev.c

+ 3
- 0
teensy3/usb_dev.c Ver fichero

@@ -719,6 +719,9 @@ uint32_t usb_tx_byte_count(uint32_t endpoint)
return usb_queue_byte_count(tx_first[endpoint]);
}

// Discussion about using this function and USB transmit latency
// https://forum.pjrc.com/threads/58663?p=223513&viewfull=1#post223513
//
uint32_t usb_tx_packet_count(uint32_t endpoint)
{
const usb_packet_t *p;

Cargando…
Cancelar
Guardar