Cli-uart: increased RX buffer, disabled internal TX buffer, forced flush in wifi_scan
This commit is contained in:
parent
6884bfa2b1
commit
1d9698ddac
|
@ -71,6 +71,7 @@ static const char* get_group_cipher(int group_cipher) {
|
|||
void cli_wifi_scan(Cli* cli, mstring_t* args) {
|
||||
cli_write_str(cli, "Scanning...");
|
||||
cli_write_eol(cli);
|
||||
cli_flush(cli);
|
||||
|
||||
uint16_t number = WIFI_SCAN_SIZE;
|
||||
wifi_ap_record_t* ap_info = calloc(WIFI_SCAN_SIZE, sizeof(wifi_ap_record_t));
|
||||
|
|
|
@ -70,8 +70,8 @@ void cli_uart_init() {
|
|||
|
||||
ESP_ERROR_CHECK(uart_driver_install(
|
||||
CLI_UART_PORT_NUM,
|
||||
CLI_UART_BUF_SIZE * 2,
|
||||
CLI_UART_BUF_SIZE * 2,
|
||||
CLI_UART_BUF_SIZE * 4,
|
||||
0,
|
||||
10,
|
||||
&cli_uart_queue,
|
||||
intr_alloc_flags));
|
||||
|
|
|
@ -985,7 +985,7 @@ CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
|
|||
# CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set
|
||||
# CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set
|
||||
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
|
||||
# CONFIG_NEWLIB_NANO_FORMAT is not set
|
||||
CONFIG_NEWLIB_NANO_FORMAT=y
|
||||
# end of Newlib
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue