mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 04:37:26 -05:00
Event History Setup: #287;
P25p1: Set currentslot to 0 when decoding phase 1 specific duids (HDU, TDU, TDULC, LDU, TSBK, MPDU) so that we don't have a potential stale phase 2 slot value present when writing to event history, etc. Update Glamor Shot to include the Event History Update;
This commit is contained in:
@@ -32,6 +32,10 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
|
||||
memset (state->s_r4, 0, sizeof(state->s_r4));
|
||||
opts->slot_preference = 2;
|
||||
|
||||
//push current slot to 0, just in case swapping p2 to p1
|
||||
//or stale slot value from p2 and then decoding a pdu
|
||||
state->currentslot = 0;
|
||||
|
||||
//reset some strings when returning from a call in case they didn't get zipped already
|
||||
sprintf (state->call_string[0], "%s", " "); //21 spaces
|
||||
sprintf (state->call_string[1], "%s", " "); //21 spaces
|
||||
|
||||
Reference in New Issue
Block a user