1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

GPS - handling incoming data as soon as possible to avoid observed GPS

packet loss.
This commit is contained in:
Dominic Clifton 2014-12-13 01:45:48 +00:00
parent 31ba3b7c94
commit 62134057f0
2 changed files with 10 additions and 15 deletions

View file

@ -19,11 +19,11 @@
// FIXME since serial ports can be used for any function these buffer sizes probably need normalising.
// Code is optimal when buffer sizes are powers of 2 due to use of % and / operators.
#define UART1_RX_BUFFER_SIZE 192
#define UART1_RX_BUFFER_SIZE 256
#define UART1_TX_BUFFER_SIZE 192
#define UART2_RX_BUFFER_SIZE 192
#define UART2_RX_BUFFER_SIZE 256
#define UART2_TX_BUFFER_SIZE 192
#define UART3_RX_BUFFER_SIZE 192
#define UART3_RX_BUFFER_SIZE 256
#define UART3_TX_BUFFER_SIZE 192
typedef struct {