mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 04:37:26 -05:00
DMR: Add 16-bit Anytone BP Support; #303
Reset static_ks_counter as various places in code; Remove the static_ks_counter reset from KWD SCR link control and tweak SO bits; Fix Forced KS application to work in both slots; Allow Static Wav File or Per Call Wav File in SDRTrunk MBE format playback; #298 Same as above for .amb, .dmb, and .imb format playback; Update Usage and Docs;
This commit is contained in:
@@ -63,14 +63,13 @@ void dmr_flco (dsd_opts * opts, dsd_state * state, uint8_t lc_bits[], uint32_t C
|
||||
pf = 0; //turn off PF flag
|
||||
fid = 0; //unclear if this signals FID (or is cipher type for scrambler)
|
||||
|
||||
//reset bit counter on static key bit counter (should do this after VC6 instead of relying on this, but meh, obscure cipher type)
|
||||
state->static_ks_counter[state->currentslot] = 0;
|
||||
//NOTE: bit counter reset is handled after vc6 voice now
|
||||
|
||||
is_kenwood_sc = 1;
|
||||
|
||||
//if forcing a keystream, remove the service options for this to unmute (workaround for now, need to fix in audio)
|
||||
//if forcing a keystream, flip the encryption bit for this to unmute
|
||||
if (state->ken_sc == 1)
|
||||
so = 0;
|
||||
so ^= 0x40;
|
||||
}
|
||||
|
||||
//read ahead a little to get this for the xpt flag
|
||||
|
||||
Reference in New Issue
Block a user