X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/28fdb04fd8d62e46c36f959b373d662f1a146448..26778ea7725b871c56b91a5f0d1144d3397320f8:/common/usb_cdc.h diff --git a/common/usb_cdc.h b/common/usb_cdc.h index d7b9c2e5..c42da8db 100644 --- a/common/usb_cdc.h +++ b/common/usb_cdc.h @@ -35,12 +35,13 @@ #ifndef _USB_CDC_H_ #define _USB_CDC_H_ -#include +#include "common.h" void usb_disable(); void usb_enable(); bool usb_check(); bool usb_poll(); +bool usb_poll_validate_length(); uint32_t usb_read(byte_t* data, size_t len); uint32_t usb_write(const byte_t* data, const size_t len);