mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
chg: cleanup from offical repo
This commit is contained in:
parent
646ff0ce68
commit
2e6699273e
6 changed files with 5 additions and 16 deletions
|
@ -19,7 +19,6 @@ usb_dev_handle *devh = NULL;
|
|||
static unsigned int claimed_iface = 0;
|
||||
unsigned char return_on_error = 0;
|
||||
unsigned char error_occured = 0;
|
||||
extern unsigned int current_command;
|
||||
|
||||
void SendCommand(UsbCommand *c)
|
||||
{
|
||||
|
@ -28,7 +27,7 @@ void SendCommand(UsbCommand *c)
|
|||
#if 0
|
||||
printf("Sending %d bytes\n", sizeof(UsbCommand));
|
||||
#endif
|
||||
current_command = c->cmd;
|
||||
|
||||
ret = usb_bulk_write(devh, 0x01, (char*)c, sizeof(UsbCommand), 1000);
|
||||
if (ret<0) {
|
||||
error_occured = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue