Browse Source
Initialize m_radiotext_AB_flag in the RDSParser constructor to ensure the radio text state is defined before the first Group 2 update. Keep the flag out of clearUpdateFlags() because it is persistent parser state, not a transient update flag. Resetting it when update flags are cleared could incorrectly appear as an A/B transition and cause stale radio text handling. Pointed out by cppcheck. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue