mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: save serial port name as copy.
This commit is contained in:
parent
43db2a50e2
commit
f2a954b422
3 changed files with 29 additions and 27 deletions
|
@ -50,7 +50,7 @@ typedef struct {
|
|||
// To memorise baudrate
|
||||
uint32_t uart_speed;
|
||||
uint16_t last_command;
|
||||
uint8_t *serial_port_name;
|
||||
uint8_t serial_port_name[FILE_PATH_SIZE];
|
||||
} communication_arg_t;
|
||||
|
||||
extern communication_arg_t conn;
|
||||
|
@ -63,7 +63,6 @@ void SendCommandMIX(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, v
|
|||
void clearCommandBuffer(void);
|
||||
|
||||
#define FLASHMODE_SPEED 460800
|
||||
void GetSavedSerialPortName( char **dest );
|
||||
bool IsCommunicationThreadDead(void);
|
||||
bool OpenProxmark(void *port, bool wait_for_port, int timeout, bool flash_mode, uint32_t speed);
|
||||
int TestProxmark(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue