Add M17 CAN Value to Ncurses; Misc;

This commit is contained in:
lwvmobile
2023-08-09 20:54:07 -04:00
parent 495eb71090
commit d356ed0dbc
4 changed files with 17 additions and 11 deletions

View File

@@ -467,6 +467,7 @@ noCarrier (dsd_opts * opts, 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", "");
@@ -1069,6 +1070,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", "");
@@ -1467,6 +1469,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);