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
|
@ -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…
Reference in New Issue