mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-12 16:57:23 -05:00
Merge pull request #36 from robotastic/master
Fixes a crash if an irrecoverable error happens
This commit is contained in:
@@ -288,7 +288,8 @@ processTDULC (dsd_opts* opts, dsd_state* state)
|
||||
|
||||
|
||||
// Next 10 dibits should be zeros
|
||||
read_zeros(opts, state, analog_signal_array + 6*(6+6)+6*(6+6), 20, &status_count, 0);
|
||||
// If an irrecoverable error happens, you should start a new sequence since the previous dibit was not set
|
||||
read_zeros(opts, state, analog_signal_array + 6*(6+6)+6*(6+6), 20, &status_count, irrecoverable_errors);
|
||||
|
||||
// Next we should find an status dibit
|
||||
if (status_count != 35) {
|
||||
|
||||
Reference in New Issue
Block a user