M17 - Send New LSF on new Encode; EOT Bit Fixes; Cleanup;

This commit is contained in:
lwvmobile
2024-03-06 12:59:54 -05:00
parent e7334a6c4f
commit 7ea26b68e7
4 changed files with 53 additions and 16 deletions

View File

@@ -4373,6 +4373,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
{
if (state->m17encoder_tx == 0) state->m17encoder_tx = 1;
else state->m17encoder_tx = 0;
//flag on the EOT marker to send last frame after toggling encoder to zero
if (state->m17encoder_tx == 0) state->m17encoder_eot = 1;
}
//anything with an entry box will need the inputs and outputs stopped first