Skip to content

Commit 0016cd3

Browse files
committed
Fix 2.4 K modes after merge
1 parent e9272e9 commit 0016cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/LR1121Driver/LR1121.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ void ICACHE_RAM_ATTR LR1121Driver::TXnb(uint8_t *data, const uint8_t size, const
635635
}
636636

637637
WORD_ALIGNED_ATTR uint8_t outBuffer[32] = {0};
638-
const uint8_t length = size+3;
638+
const uint8_t length = PayloadLength+3;
639639
if (useFEC)
640640
{
641641
FECEncode(data, outBuffer);

0 commit comments

Comments
 (0)