mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
com: reduce buffer sizes for com layer
This saves a few hundred bytes of RAM in a typical configuration.
This commit is contained in:
parent
785a7ccd88
commit
5b3227d1ff
@ -780,16 +780,16 @@ static const struct pios_sbus_cfg pios_sbus_cfg = {
|
||||
|
||||
#include "pios_com_priv.h"
|
||||
|
||||
#define PIOS_COM_TELEM_RF_RX_BUF_LEN 192
|
||||
#define PIOS_COM_TELEM_RF_TX_BUF_LEN 192
|
||||
#define PIOS_COM_TELEM_RF_RX_BUF_LEN 96
|
||||
#define PIOS_COM_TELEM_RF_TX_BUF_LEN 12
|
||||
|
||||
#define PIOS_COM_GPS_RX_BUF_LEN 32
|
||||
|
||||
#define PIOS_COM_TELEM_USB_RX_BUF_LEN 192
|
||||
#define PIOS_COM_TELEM_USB_TX_BUF_LEN 192
|
||||
#define PIOS_COM_TELEM_USB_RX_BUF_LEN 96
|
||||
#define PIOS_COM_TELEM_USB_TX_BUF_LEN 65
|
||||
|
||||
#define PIOS_COM_BRIDGE_RX_BUF_LEN 65
|
||||
#define PIOS_COM_BRIDGE_TX_BUF_LEN 65
|
||||
#define PIOS_COM_BRIDGE_TX_BUF_LEN 12
|
||||
|
||||
#endif /* PIOS_INCLUDE_COM */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user