]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
lean up event model so that this will work under OS X (and hopefully Linux)
[proxmark3-svn] / client / proxmark3.c
index 3c3b7927a7b11b9c608027baa63074e91c6c3643..280d07f91fbc3b51d04e1221a61bc05f0d4deb11 100644 (file)
@@ -9,7 +9,6 @@
 #include <readline/history.h>
 #include <pthread.h>
 
-#include "translate.h"
 #include "prox.h"
 #include "proxmark3.h"
 #include "proxgui.h"
@@ -27,7 +26,7 @@ static void *usb_receiver(void *targ) {
        UsbCommand cmdbuf;
 
        while(arg->run) {
-               if (ReceiveCommandP(&cmdbuf) > 0) {
+               if (ReceiveCommandPoll(&cmdbuf)) {
                        int i;
 
                        for (i=0; i<strlen(PROXPROMPT); i++)
Impressum, Datenschutz