Revert "Comms refactor (prerequisite of libproxmark work) (#371)" (#450)

This reverts commit afdcb8c159.
This commit is contained in:
pwpiwi 2017-10-27 09:56:46 +02:00 committed by GitHub
commit 3851172d81
19 changed files with 334 additions and 540 deletions

View file

@ -21,7 +21,6 @@
#include <QPainter>
#include <QtGui>
#include "uart.h"
#include "ui/ui_overlays.h"
/**
* @brief The actual plot, black area were we paint the graph
@ -92,14 +91,13 @@ class ProxWidget : public QWidget
class WorkerThread : public QThread {
Q_OBJECT;
public:
WorkerThread(char*, char*, bool, serial_port*);
WorkerThread(char*, char*, bool);
~WorkerThread();
void run();
private:
char *script_cmds_file = NULL;
char *script_cmd = NULL;
bool usb_present;
serial_port *sp = NULL;
};
class ProxGuiQT : public QObject