diff --git a/linux/esptun.c b/linux/esptun.c index a302fcb..6e57812 100644 --- a/linux/esptun.c +++ b/linux/esptun.c @@ -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)