Fix Misc Minor Bugs and Clang Compiler Warnings;

This commit is contained in:
lwvmobile
2025-05-01 22:12:19 -04:00
parent 934b95cde8
commit d158db618d
7 changed files with 10 additions and 15 deletions

View File

@@ -132,7 +132,7 @@ void dmr_dheader (dsd_opts * opts, dsd_state * state, uint8_t dheader[], uint8_t
udt_uab += 1; //add 1 internally, up to 4 appended blocks are carried, min is 1
//NMEA Specific Fix for unspecified MFID format w/ 2 appended blocks (UAB 2) p291
if (udt_uab == 0x5 && udt_uab == 3)
if (udt_format == 0x5 && udt_uab == 3)
udt_uab = 2; //set to two if long unspecified format
//Note: NMEA Reserved value UAB 3 is not referenced in ETSI, so unknown number of