Fix: USART - default speeds is lower (@ryan)

This commit is contained in:
iceman1001 2019-04-14 11:09:31 +02:00
parent fc0a62de18
commit dd404a67a1

View file

@ -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) {