Fix vfo_str[] to terminate correctly

pull/224/head
Michael Black 2020-03-25 16:33:33 -05:00
rodzic 1025af9590
commit 48a584cca4
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -463,6 +463,7 @@ static struct
{ RIG_VFO_SUB_A, "SubA" },
{ RIG_VFO_SUB_B, "SubB" },
{ RIG_VFO_NONE, "None" },
{ 0xffffff, "" },
};
@ -571,6 +572,7 @@ static struct
* utility function to convert index to bit value
*
*/
// cppcheck-suppress *
uint64_t rig_idx2setting(int i)
{
return ((uint64_t)1) << i;