mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
linux: Tune baudrate in esptun
The maximum baudrate seems unstable at times, tune it down a bit.
This commit is contained in:
parent
885357f22f
commit
526e9683c2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user