P25 P2 ISCH Var Fix;

This commit is contained in:
lwvmobile
2023-01-15 18:09:47 -05:00
parent ffe6098fb8
commit f5a7ab2b77
3 changed files with 6 additions and 5 deletions

View File

@@ -312,11 +312,11 @@ void map_isch()
isch_map["fb063f092"] = 127;
}
unsigned long long int isch_lookup (unsigned long long int isch)
int isch_lookup (unsigned long long int isch)
{
map_isch(); //initialize the lookup map
char s[64];
unsigned long long int decoded = -2; //initialize lookup to an invalid number
int decoded = -2; //initialize lookup to an invalid number
sprintf(s, "%llx", isch);
decoded = isch_map[s];
return(decoded);