Skip to content

Commit

Permalink
Changed default max packet size to 128 bytes for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Oct 22, 2024
1 parent 0cd5ab8 commit 0ba27f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 0ba27f6

Please sign in to comment.