mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
linux: Reduce esptun default baudrate more
Changed to `115200 * 4`. It's hard to get this stable...
This commit is contained in:
parent
ab95e18ba8
commit
e7de60ebbc
@ -29,8 +29,8 @@
|
|||||||
#define ESP_BUFSIZE 2000
|
#define ESP_BUFSIZE 2000
|
||||||
/* 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). TODO: make this a command line argument. */
|
||||||
#define BAUDRATE (115200 * 10)
|
#define BAUDRATE (115200 * 4)
|
||||||
|
|
||||||
/** 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