aboutsummaryrefslogtreecommitdiff
path: root/src/fdmdv_mod.c
diff options
context:
space:
mode:
authordrowe67 <[email protected]>2023-07-14 08:15:48 +0930
committerDavid Rowe <[email protected]>2023-07-14 08:15:48 +0930
commit98992bc3585124981450659394d6f84032b81370 (patch)
treee015b6d01db10ff219f5d1cf49eb3dcadb7dbe48 /src/fdmdv_mod.c
parent496710e562507ee1d3ca05cfe15a53a28c7e6135 (diff)
parent7e3c9e2912d80e170f7747319e3e2e771f4d98a4 (diff)
Merge branch 'dr-cleanup' of github.com:drowe67/codec2-new into dr-cleanupdr-cleanup
Diffstat (limited to 'src/fdmdv_mod.c')
-rw-r--r--src/fdmdv_mod.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fdmdv_mod.c b/src/fdmdv_mod.c
index b47c543..a87958f 100644
--- a/src/fdmdv_mod.c
+++ b/src/fdmdv_mod.c
@@ -46,7 +46,6 @@ int main(int argc, char *argv[])
int *tx_bits;
COMP tx_fdm[2*FDMDV_NOM_SAMPLES_PER_FRAME];
short tx_fdm_scaled[2*FDMDV_NOM_SAMPLES_PER_FRAME];
- int frames;
int i, bit, byte;
int sync_bit;
int bits_per_fdmdv_frame;
@@ -105,10 +104,7 @@ int main(int argc, char *argv[])
foff_phase_rect.real = 1.0; foff_phase_rect.imag = 0.0;
#endif
- frames = 0;
-
while(fread(packed_bits, sizeof(char), bytes_per_codec_frame, fin) == bytes_per_codec_frame) {
- frames++;
/* unpack bits, MSB first */