kopia lustrzana https://github.com/Hamlib/Hamlib
Fix vfo_str[] to terminate correctly
rodzic
1025af9590
commit
48a584cca4
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue