mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
rename variable
This commit is contained in:
parent
7f544803e7
commit
4e728dc0f9
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ serial_port uart_open(const char* pcPortName) {
|
|||
|
||||
PurgeComm(sp->hPort, PURGE_RXABORT | PURGE_RXCLEAR);
|
||||
|
||||
bool err = uart_set_speed(sp, 460800);
|
||||
if (!err)
|
||||
bool success = uart_set_speed(sp, 460800);
|
||||
if (!success)
|
||||
uart_set_speed(sp, 115200);
|
||||
|
||||
return sp;
|
||||
|
|
Loading…
Reference in a new issue