mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
add support for higher speeds.
This commit is contained in:
parent
d4ad0da335
commit
13cd6ab61a
2 changed files with 8 additions and 0 deletions
|
@ -412,6 +412,12 @@ bool uart_set_speed(serial_port sp, const uint32_t uiPortSpeed) {
|
||||||
stPortSpeed = B921600;
|
stPortSpeed = B921600;
|
||||||
break;
|
break;
|
||||||
# endif
|
# endif
|
||||||
|
# ifdef B1382400
|
||||||
|
case 1382400:
|
||||||
|
stPortSpeed = B1382400;
|
||||||
|
break;
|
||||||
|
# endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -150,6 +150,8 @@ bool uart_set_speed(serial_port sp, const uint32_t uiPortSpeed) {
|
||||||
case 115200:
|
case 115200:
|
||||||
case 230400:
|
case 230400:
|
||||||
case 460800:
|
case 460800:
|
||||||
|
case 921600:
|
||||||
|
case 1382400:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue