mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
change usb_cmd struct to be more sane
wean ourselves off translate.h
This commit is contained in:
parent
cd00aa3043
commit
3a8464f067
7 changed files with 189 additions and 156 deletions
|
@ -1,11 +1,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <usb.h>
|
||||
#include <strings.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "translate.h"
|
||||
#include "prox.h"
|
||||
#include "proxmark3.h"
|
||||
|
||||
|
@ -14,7 +15,7 @@ static unsigned int claimed_iface = 0;
|
|||
unsigned char return_on_error = 0;
|
||||
unsigned char error_occured = 0;
|
||||
|
||||
void SendCommand(UsbCommand *c, BOOL wantAck) {
|
||||
void SendCommand(UsbCommand *c, bool wantAck) {
|
||||
int ret;
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue