From 6a65289b21071f78929d29f09e79a9b950ae3ae4 Mon Sep 17 00:00:00 2001 From: Wojciech Kaczmarski Date: Sat, 1 Jun 2024 10:37:50 +0200 Subject: [PATCH] libm17 submodule update - removed redundant Makefile entry --- SP5WWP/m17-decoder/Makefile | 5 ++++- SP5WWP/m17-decoder/m17-decoder-sym.c | 1 + libm17 | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SP5WWP/m17-decoder/Makefile b/SP5WWP/m17-decoder/Makefile index 0c21d5a..9e9e880 100644 --- a/SP5WWP/m17-decoder/Makefile +++ b/SP5WWP/m17-decoder/Makefile @@ -1,5 +1,8 @@ m17-decoder-sym: m17-decoder-sym.c - gcc -I ../../libm17 -L ../../libm17 -Wall -Wextra -O2 m17-decoder-sym.c -o m17-decoder-sym -lm -lm17 + gcc -I ../../libm17 -Wall -Wextra -O2 m17-decoder-sym.c -o m17-decoder-sym -lm -lm17 + +install: + sudo cp m17-decoder-sym /usr/local/bin clean: rm -f m17-decoder-sym diff --git a/SP5WWP/m17-decoder/m17-decoder-sym.c b/SP5WWP/m17-decoder/m17-decoder-sym.c index 7f72b78..9b7615f 100644 --- a/SP5WWP/m17-decoder/m17-decoder-sym.c +++ b/SP5WWP/m17-decoder/m17-decoder-sym.c @@ -8,6 +8,7 @@ #define DECODE_CALLSIGNS #define SHOW_VITERBI_ERRS +#define DIST_THRESH 2.0f //distance threshold for the L2 metric (for syncword detection) float sample; //last raw sample from the stdin float last[8]; //look-back buffer for finding syncwords diff --git a/libm17 b/libm17 index 1b12db9..fa809eb 160000 --- a/libm17 +++ b/libm17 @@ -1 +1 @@ -Subproject commit 1b12db9d27c885f3ac9c0b1204bd600204f4d058 +Subproject commit fa809eb093b64fde247d2da0e2377075e7eef1eb