mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -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;
|
||||
break;
|
||||
# endif
|
||||
# ifdef B1382400
|
||||
case 1382400:
|
||||
stPortSpeed = B1382400;
|
||||
break;
|
||||
# endif
|
||||
|
||||
default:
|
||||
return false;
|
||||
};
|
||||
|
|
|
@ -150,6 +150,8 @@ bool uart_set_speed(serial_port sp, const uint32_t uiPortSpeed) {
|
|||
case 115200:
|
||||
case 230400:
|
||||
case 460800:
|
||||
case 921600:
|
||||
case 1382400:
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue