mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fix MSP output buffer overflow (#13879)
* Fix MSP output buffer overflow * Add comment
This commit is contained in:
parent
aa92203215
commit
c88f7c9016
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ typedef enum {
|
||||||
} mspPendingSystemRequest_e;
|
} mspPendingSystemRequest_e;
|
||||||
|
|
||||||
#define MSP_PORT_INBUF_SIZE 192
|
#define MSP_PORT_INBUF_SIZE 192
|
||||||
#define MSP_PORT_OUTBUF_SIZE_MIN 320
|
#define MSP_PORT_OUTBUF_SIZE_MIN 512 // As of 2021/08/10 MSP_BOXNAMES generates a 307 byte response for page 1. There has been overflow issues with 320 byte buffer.
|
||||||
|
|
||||||
#ifdef USE_FLASHFS
|
#ifdef USE_FLASHFS
|
||||||
#define MSP_PORT_DATAFLASH_BUFFER_SIZE 4096
|
#define MSP_PORT_DATAFLASH_BUFFER_SIZE 4096
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue