diff --git a/main/main.c b/main/main.c index 9e92d7f..f8e45ee 100644 --- a/main/main.c +++ b/main/main.c @@ -81,7 +81,7 @@ uint8_t DB_UART_RTS_THRESH = 64; #endif int32_t DB_UART_BAUD_RATE = 57600; -uint16_t DB_TRANS_BUF_SIZE = 64; +uint16_t DB_TRANS_BUF_SIZE = 128; uint8_t DB_LTM_FRAME_NUM_BUFFER = 2; db_esp_signal_quality_t db_esp_signal_quality = {.air_rssi = -127, .air_noise_floor = -1, .gnd_rssi= -127, .gnd_noise_floor = -1}; wifi_sta_list_t wifi_sta_list = {.num = 0}; @@ -623,7 +623,7 @@ void long_press_callback(void *arg,void *usr_data) { DB_UART_PIN_CTS = GPIO_NUM_0; DB_UART_PIN_RTS = GPIO_NUM_0; DB_SERIAL_PROTOCOL = DB_SERIAL_PROTOCOL_MAVLINK; - DB_TRANS_BUF_SIZE = 64; + DB_TRANS_BUF_SIZE = 128; DB_UART_RTS_THRESH = 64; DB_SERIAL_READ_TIMEOUT_MS = DB_SERIAL_READ_TIMEOUT_MS_DEFAULT; db_write_settings_to_nvs();