Add M17 CAN Value to Ncurses; Misc;

This commit is contained in:
lwvmobile
2023-08-09 20:55:29 -04:00
parent 224dc1e68c
commit 58e90298eb
4 changed files with 17 additions and 11 deletions

View File

@@ -484,6 +484,7 @@ if(opts->frame_m17 == 1) //&& opts->audio_in_type == 5
state->m17_dst = 0;
state->m17_src = 0;
state->m17_can = 0;
memset(state->m17_dst_csd, 0, sizeof(state->m17_dst_csd));
memset(state->m17_src_csd, 0, sizeof(state->m17_src_csd));
sprintf (state->m17_dst_str, "%s", "");
@@ -1140,6 +1141,7 @@ initState (dsd_state * state)
state->m17_dst = 0;
state->m17_src = 0;
state->m17_can = 0;
memset(state->m17_dst_csd, 0, sizeof(state->m17_dst_csd));
memset(state->m17_src_csd, 0, sizeof(state->m17_src_csd));
sprintf (state->m17_dst_str, "%s", "");
@@ -1528,6 +1530,10 @@ main (int argc, char **argv)
#endif
fprintf (stderr,"MBElib Version: %s\n", versionstr);
#ifdef USE_CODEC2
fprintf (stderr,"CODEC2 Support Enabled\n");
#endif
initOpts (&opts);
initState (&state);