mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Made dataflash buffer size dependent on RAM. Also, reenabled some features for NAZE.
This commit is contained in:
parent
8a959d356a
commit
e6b3538ccf
2 changed files with 16 additions and 12 deletions
|
@ -39,7 +39,11 @@ typedef enum {
|
|||
|
||||
#define MSP_PORT_INBUF_SIZE 192
|
||||
#ifdef USE_FLASHFS
|
||||
#ifdef STM32F1
|
||||
#define MSP_PORT_DATAFLASH_BUFFER_SIZE 2048
|
||||
#else
|
||||
#define MSP_PORT_DATAFLASH_BUFFER_SIZE 4096
|
||||
#endif
|
||||
#define MSP_PORT_DATAFLASH_INFO_SIZE 16
|
||||
#define MSP_PORT_OUTBUF_SIZE (MSP_PORT_DATAFLASH_BUFFER_SIZE + MSP_PORT_DATAFLASH_INFO_SIZE)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue