mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Merged in webbbn/librepilot/LP-547-large-uavobjects-not-saving-over-oplink (pull request #460)
LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink. Approved-by: Lalanne Laurent <f5soh@free.fr> Approved-by: Philippe Renon <philippe_renon@yahoo.fr> Approved-by: Vladimir Zidar <mr_w@mindnever.org> Approved-by: Brian Webb <webbbn@gmail.com>
This commit is contained in:
commit
ffb4392ab1
@ -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]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user