X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..217cfb6b29773989774cbe573af0372df09f056b:/common/usb_cdc.h?ds=inline 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);