#include <readline/history.h>
#include <pthread.h>
-#include "translate.h"
#include "prox.h"
#include "proxmark3.h"
#include "proxgui.h"
UsbCommand cmdbuf;
while(arg->run) {
- if (ReceiveCommandP(&cmdbuf) > 0) {
+ if (ReceiveCommandPoll(&cmdbuf)) {
int i;
for (i=0; i<strlen(PROXPROMPT); i++)