]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix corruption / dropped packet issues caused by small UART buffer
authorjacob.eva <x00010@disroot.org>
Fri, 30 Aug 2024 11:07:56 +0000 (12:07 +0100)
committerjacob.eva <x00010@disroot.org>
Fri, 30 Aug 2024 11:07:56 +0000 (12:07 +0100)
Boards.h

index 75f528469b6f253b9aab4d01ef21e3ae5378179a..3193b8ebfeb798208d045d44ae67159f85cfc711 100644 (file)
--- a/Boards.h
+++ b/Boards.h
       #define HAS_PMU true
       #define HAS_NP false
       #define HAS_SD false
-      #define CONFIG_UART_BUFFER_SIZE 6144
+      #define CONFIG_UART_BUFFER_SIZE 40000
       #define CONFIG_QUEUE_0_SIZE 6144
       #define CONFIG_QUEUE_MAX_LENGTH 200
       #define EEPROM_SIZE 296
       #elif BOARD_VARIANT == MODEL_13 || BOARD_VARIANT == MODEL_14 || BOARD_VARIANT == MODEL_21
       #define INTERFACE_COUNT 2
 
-      #define CONFIG_QUEUE_1_SIZE 20000
+      #define CONFIG_QUEUE_1_SIZE 40000
 
       // first interface in list is the primary
       const uint8_t interfaces[INTERFACE_COUNT] = {SX126X, SX128X};