ELRS: increase buffer to support more complex/dual-band devices
This commit is contained in:
+2
-2
@@ -195,9 +195,9 @@
|
||||
|
||||
#if defined(PCBI6X_ELRS)
|
||||
#if defined(CRSF_EXTENDED_TYPES)
|
||||
#define CTOOL_DATA_SIZE (552 + 44 + 216 + 8) // 820
|
||||
#define CTOOL_DATA_SIZE (720 + 44 + 216 + 8) // 988
|
||||
#else
|
||||
#define CTOOL_DATA_SIZE (552 + 44 + 180 + 8) // 784
|
||||
#define CTOOL_DATA_SIZE (720 + 44 + 180 + 8) // 952
|
||||
#endif
|
||||
#else
|
||||
#define CTOOL_DATA_SIZE 512 // minimize RAM usage for non PCBI6X_ELRS builds
|
||||
|
||||
@@ -70,7 +70,7 @@ struct ParamFunctions {
|
||||
void (*display)(Parameter*, uint8_t, uint8_t);
|
||||
};
|
||||
|
||||
static constexpr uint16_t BUFFER_SIZE = 552;
|
||||
static constexpr uint16_t BUFFER_SIZE = 720;
|
||||
static uint8_t *buffer = &reusableBuffer.cToolData[0];
|
||||
static uint16_t bufferOffset = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user