From 72ac2f628ba6f6798eb79bc6750a6bc4391bb0fa Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Wed, 6 Mar 2024 20:18:10 -0500 Subject: [PATCH] M17 - Fix FSN Variable Type; --- src/m17.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m17.c b/src/m17.c index 4a247ee..97ea24e 100644 --- a/src/m17.c +++ b/src/m17.c @@ -1161,8 +1161,8 @@ void encodeM17STR(dsd_opts * opts, dsd_state * state) short voice1[nsam]; //read in xxx ms of audio from input source short voice2[nsam]; //read in xxx ms of audio from input source - //frame sequence number and eot bit (fixes initial FSN of 17152) - uint8_t fsn = 0; + //frame sequence number and eot bit + uint16_t fsn = 0; uint8_t eot = 0; uint8_t lich_cnt = 0; //lich frame number counter