X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/867e10a5fdf0d26c8ee63735b894e7d3953ebbb2..refs/pull/969/head:/common/usb_cdc.h diff --git a/common/usb_cdc.h b/common/usb_cdc.h index 31399222..3fff154d 100644 --- a/common/usb_cdc.h +++ b/common/usb_cdc.h @@ -45,6 +45,7 @@ extern void usb_enable(); extern bool usb_poll(); extern bool usb_poll_validate_length(); extern bool cmd_receive(UsbCommand* cmd); -extern bool cmd_send(uint32_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, void* data, size_t len); +extern bool cmd_send(uint16_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, void* data, uint16_t datalen); // new variable sized response +extern bool cmd_send_old(uint16_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, void* data, uint16_t datalen); // old fixed size response #endif // USB_CDC_H__