linux: Reduce esptun default baudrate more

Changed to `115200 * 4`.
It's hard to get this stable...
This commit is contained in:
Wladimir J. van der Laan 2020-02-23 20:21:34 +00:00
parent ab95e18ba8
commit e7de60ebbc

View File

@ -29,8 +29,8 @@
#define ESP_BUFSIZE 2000
/* buffer for reading from tun/tap interface, must be >= 1500 */
#define TAP_BUFSIZE 2000
/* baud rate (max 115200*40 = 4608000) */
#define BAUDRATE (115200 * 10)
/* baud rate (max 115200*40 = 4608000). TODO: make this a command line argument. */
#define BAUDRATE (115200 * 4)
/** Macro for writing static strings without needing strlen. */
#define S(s) (const uint8_t*)(s), (sizeof(s)-1)