mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
increase SA_MAX_RCVLEN to allocate enough buffer for receiving setting response from smartaudio v2.1 device
This commit is contained in:
parent
f7f0c67808
commit
f5f2d0df16
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ static char *saSupportedPowerLabelPointerArray[VTX_SMARTAUDIO_POWER_COUNT + 1];
|
|||
bool saDeferred = true; // saCms variable?
|
||||
|
||||
// Receive frame reassembly buffer
|
||||
#define SA_MAX_RCVLEN 15
|
||||
#define SA_MAX_RCVLEN 20
|
||||
static uint8_t sa_rbuf[SA_MAX_RCVLEN+4]; // XXX delete 4 byte guard
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue