From f6b8cc71cc53196c76730ad1c7a0cc02b2d1f9c2 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Wed, 13 Mar 2024 10:29:13 -0400 Subject: [PATCH] M17 - Fix Binary Output to Append; --- src/m17.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m17.c b/src/m17.c index 8b2433b..0c4e846 100644 --- a/src/m17.c +++ b/src/m17.c @@ -1310,7 +1310,7 @@ void encodeM17RF (dsd_opts * opts, dsd_state * state, uint8_t * input, int type) if (opts->use_dsp_output) //use -Q output.bin to use this format, will be placed in the DSP folder (reusing DSP) { FILE * pFile; //file pointer - pFile = fopen (opts->dsp_out_file, "w"); + pFile = fopen (opts->dsp_out_file, "a"); //append, not write uint8_t output_binary[384]; memset (output_binary, 0, sizeof(output_binary)); for (i = 0; i < 192; i++) {