]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/usb.c
change usb_cmd struct to be more sane
[proxmark3-svn] / client / usb.c
index c326aeca76327de4493bfc06795078e657f374cc..8f5f38a7179736f69b851157a7ea8d25c25c4c22 100644 (file)
@@ -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
Impressum, Datenschutz