1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink.

This commit is contained in:
Brian Webb 2017-08-31 17:42:25 -07:00
parent d1ab06e5b0
commit 586a073d33
2 changed files with 6 additions and 7 deletions

View File

@ -55,7 +55,6 @@
#define RETRY_TIMEOUT_MS 20
#define EVENT_QUEUE_SIZE 10
#define MAX_PORT_DELAY 200
#define SERIAL_RX_BUF_LEN 100
#define PPM_INPUT_TIMEOUT 100
#define PIOS_PPM_RECEIVER pios_rcvr_group_map[MANUALCONTROLSETTINGS_CHANNELGROUPS_PPM]

View File

@ -91,10 +91,10 @@ extern uint32_t pios_com_telem_usb_id;
extern uint32_t pios_com_telem_rf_id;
#define PIOS_COM_TELEM_RF (pios_com_telem_rf_id)
#ifndef PIOS_COM_TELEM_RF_RX_BUF_LEN
# define PIOS_COM_TELEM_RF_RX_BUF_LEN 128
# define PIOS_COM_TELEM_RF_RX_BUF_LEN 256
#endif
#ifndef PIOS_COM_TELEM_RF_TX_BUF_LEN
# define PIOS_COM_TELEM_RF_TX_BUF_LEN 128
# define PIOS_COM_TELEM_RF_TX_BUF_LEN 256
#endif
/* RFM22B telemetry */
@ -106,16 +106,16 @@ extern uint32_t pios_com_aux_radio_id; /* oplink aux com stream */
# define PIOS_COM_PRI_RADIO (pios_com_pri_radio_id)
# define PIOS_COM_AUX_RADIO (pios_com_aux_radio_id)
# ifndef PIOS_COM_PRI_RADIO_RX_BUF_LEN
# define PIOS_COM_PRI_RADIO_RX_BUF_LEN 128
# define PIOS_COM_PRI_RADIO_RX_BUF_LEN 256
# endif
# ifndef PIOS_COM_PRI_RADIO_TX_BUF_LEN
# define PIOS_COM_PRI_RADIO_TX_BUF_LEN 128
# define PIOS_COM_PRI_RADIO_TX_BUF_LEN 256
# endif
# ifndef PIOS_COM_AUX_RADIO_RX_BUF_LEN
# define PIOS_COM_AUX_RADIO_RX_BUF_LEN 128
# define PIOS_COM_AUX_RADIO_RX_BUF_LEN 256
# endif
# ifndef PIOS_COM_AUX_RADIO_TX_BUF_LEN
# define PIOS_COM_AUX_RADIO_TX_BUF_LEN 128
# define PIOS_COM_AUX_RADIO_TX_BUF_LEN 256
# endif
#endif