X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..acf0582d5324f70bfda5d180e6533e4d572e695b:/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);