char* port for OpenProxmark and remove global gui_serial_port_name
This commit is contained in:
1 parent
11e34237bb
commit
e3eb8b7401
4 files changed
+15
-23
No files matched your search
+2
-4
@@ -60,13 +60,11 @@ typedef struct {
|
||||
// To memorise baudrate
|
||||
uint32_t uart_speed;
|
||||
uint16_t last_command;
|
||||
uint8_t serial_port_name[FILE_PATH_SIZE];
|
||||
char serial_port_name[FILE_PATH_SIZE];
|
||||
} communication_arg_t;
|
||||
|
||||
extern communication_arg_t conn;
|
||||
|
||||
extern uint8_t gui_serial_port_name[FILE_PATH_SIZE];
|
||||
|
||||
void *uart_receiver(void *targ);
|
||||
void SendCommandBL(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
|
||||
void SendCommandOLD(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
|
||||
@@ -76,7 +74,7 @@ void clearCommandBuffer(void);
|
||||
|
||||
#define FLASHMODE_SPEED 460800
|
||||
bool IsCommunicationThreadDead(void);
|
||||
bool OpenProxmark(void *port, bool wait_for_port, int timeout, bool flash_mode, uint32_t speed);
|
||||
bool OpenProxmark(char *port, bool wait_for_port, int timeout, bool flash_mode, uint32_t speed);
|
||||
int TestProxmark(void);
|
||||
void CloseProxmark(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user