linux: Tune baudrate in esptun

The maximum baudrate seems unstable at times, tune it down a bit.
This commit is contained in:
Wladimir J. van der Laan 2020-02-22 11:23:46 +00:00
parent 885357f22f
commit 526e9683c2

View File

@ -30,7 +30,7 @@
/* buffer for reading from tun/tap interface, must be >= 1500 */ /* buffer for reading from tun/tap interface, must be >= 1500 */
#define TAP_BUFSIZE 2000 #define TAP_BUFSIZE 2000
/* baud rate (max 115200*40 = 4608000) */ /* baud rate (max 115200*40 = 4608000) */
#define BAUDRATE (115200 * 40) #define BAUDRATE (115200 * 10)
/** Macro for writing static strings without needing strlen. */ /** Macro for writing static strings without needing strlen. */
#define S(s) (const uint8_t*)(s), (sizeof(s)-1) #define S(s) (const uint8_t*)(s), (sizeof(s)-1)