chg: 'hw connect' - make port optional. Reused previous serial port

This commit is contained in:
iceman1001 committed 2019-05-07 11:42:36 +02:00
1 parent 61d250a7f8
commit fb7445a027
3 files changed
+22 -19

No files matched your search

+4
View File
@@ -59,6 +59,10 @@ static uint64_t timeout_start_time;
static bool dl_it(uint8_t *dest, uint32_t bytes, uint32_t start_index, PacketResponseNG *response, size_t ms_timeout, bool show_warning, uint32_t rec_cmd);
void GetSavedSerialPortName( char **dest ) {
*dest = serial_port_name;
}
void SendCommand(PacketCommandOLD *c) {
#ifdef COMMS_DEBUG