Skip to content

Commit 586a073

Browse files
committed
LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink.
1 parent d1ab06e commit 586a073

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

flight/modules/RadioComBridge/RadioComBridge.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#define RETRY_TIMEOUT_MS 20
5656
#define EVENT_QUEUE_SIZE 10
5757
#define MAX_PORT_DELAY 200
58-
#define SERIAL_RX_BUF_LEN 100
5958
#define PPM_INPUT_TIMEOUT 100
6059

6160
#define PIOS_PPM_RECEIVER pios_rcvr_group_map[MANUALCONTROLSETTINGS_CHANNELGROUPS_PPM]

flight/pios/inc/pios_board_io.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ extern uint32_t pios_com_telem_usb_id;
9191
extern uint32_t pios_com_telem_rf_id;
9292
#define PIOS_COM_TELEM_RF (pios_com_telem_rf_id)
9393
#ifndef PIOS_COM_TELEM_RF_RX_BUF_LEN
94-
# define PIOS_COM_TELEM_RF_RX_BUF_LEN 128
94+
# define PIOS_COM_TELEM_RF_RX_BUF_LEN 256
9595
#endif
9696
#ifndef PIOS_COM_TELEM_RF_TX_BUF_LEN
97-
# define PIOS_COM_TELEM_RF_TX_BUF_LEN 128
97+
# define PIOS_COM_TELEM_RF_TX_BUF_LEN 256
9898
#endif
9999

100100
/* RFM22B telemetry */
@@ -106,16 +106,16 @@ extern uint32_t pios_com_aux_radio_id; /* oplink aux com stream */
106106
# define PIOS_COM_PRI_RADIO (pios_com_pri_radio_id)
107107
# define PIOS_COM_AUX_RADIO (pios_com_aux_radio_id)
108108
# ifndef PIOS_COM_PRI_RADIO_RX_BUF_LEN
109-
# define PIOS_COM_PRI_RADIO_RX_BUF_LEN 128
109+
# define PIOS_COM_PRI_RADIO_RX_BUF_LEN 256
110110
# endif
111111
# ifndef PIOS_COM_PRI_RADIO_TX_BUF_LEN
112-
# define PIOS_COM_PRI_RADIO_TX_BUF_LEN 128
112+
# define PIOS_COM_PRI_RADIO_TX_BUF_LEN 256
113113
# endif
114114
# ifndef PIOS_COM_AUX_RADIO_RX_BUF_LEN
115-
# define PIOS_COM_AUX_RADIO_RX_BUF_LEN 128
115+
# define PIOS_COM_AUX_RADIO_RX_BUF_LEN 256
116116
# endif
117117
# ifndef PIOS_COM_AUX_RADIO_TX_BUF_LEN
118-
# define PIOS_COM_AUX_RADIO_TX_BUF_LEN 128
118+
# define PIOS_COM_AUX_RADIO_TX_BUF_LEN 256
119119
# endif
120120
#endif
121121

0 commit comments

Comments
 (0)