Skip to content

Commit 524532e

Browse files
committed
elrs update for parameter definitions over 255 bytes
1 parent 09d4500 commit 524532e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

radio/src/targets/flysky/tools/elrs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static uint16_t bufferOffset = 0;
7777
static constexpr uint8_t PARAM_DATA_TAIL_SIZE = 44; // max popup packet size
7878

7979
static uint8_t *paramData = &reusableBuffer.cToolData[0];
80-
static uint8_t paramDataLen = 0;
80+
static uint32_t paramDataLen = 0;
8181

8282
static constexpr uint8_t PARAMS_MAX_COUNT = 18;
8383
static constexpr uint8_t PARAMS_SIZE = PARAMS_MAX_COUNT * sizeof(Parameter);

0 commit comments

Comments
 (0)