increase SA_MAX_RCVLEN to allocate enough buffer for receiving setting response from smartaudio v2.1 device

This commit is contained in:
Jeff Leung 2019-06-17 04:54:17 +08:00
parent f7f0c67808
commit f5f2d0df16
1 changed files with 1 additions and 1 deletions

View File

@ -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
//