Add YSF to default decoding class; #143

This commit is contained in:
lwvmobile
2023-07-01 18:44:14 -04:00
parent 0a43d3202d
commit 87bf997b6e
4 changed files with 16 additions and 15 deletions

View File

@@ -233,7 +233,7 @@ getFrameSync (dsd_opts * opts, dsd_state * state)
{
t_max = 12; //based on Frame_Sync_2 pattern
}
else if (opts->frame_ysf == 1)
else if (state->lastsynctype == 30 || state->lastsynctype == 31 )
{
t_max = 20; //20 on YSF
}