[Pager] Fixed narrow type comparison
This commit is contained in:
parent
afcbfa9a21
commit
3baa4bd80f
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ int16_t PagerClient::transmit(uint8_t* data, size_t len, uint32_t addr, uint8_t
|
||||||
if(len > 0) {
|
if(len > 0) {
|
||||||
int8_t remBits = 0;
|
int8_t remBits = 0;
|
||||||
uint8_t dataPos = 0;
|
uint8_t dataPos = 0;
|
||||||
for(uint8_t i = 0; i < numDataBlocks + numBatches - 1; i++) {
|
for(size_t i = 0; i < numDataBlocks + numBatches - 1; i++) {
|
||||||
uint8_t blockPos = RADIOLIB_PAGER_PREAMBLE_LENGTH + 1 + framePos + 1 + i;
|
uint8_t blockPos = RADIOLIB_PAGER_PREAMBLE_LENGTH + 1 + framePos + 1 + i;
|
||||||
|
|
||||||
// check if we need to skip a frame sync marker
|
// check if we need to skip a frame sync marker
|
||||||
|
|
Loading…
Add table
Reference in a new issue