mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-12 02:58:35 +08:00
Fix: USART - default speeds is lower (@ryan)
This commit is contained in:
parent
fc0a62de18
commit
dd404a67a1
1 changed files with 5 additions and 0 deletions
|
@ -364,8 +364,13 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
// default speed for USB 460800, USART(FPC serial) 115200 baud
|
||||
if (speed == 0)
|
||||
#ifdef WITH_FPC
|
||||
speed = 115200;
|
||||
#else
|
||||
speed = 460800;
|
||||
#endif
|
||||
|
||||
// If the user passed the filename of the 'script' to execute, get it from last parameter
|
||||
if (lastarg) {
|
||||
|
|
Loading…
Reference in a new issue