kopia lustrzana https://github.com/Hamlib/Hamlib
Fix flrig modeMap loop to ignore NULL entries
https://github.com/Hamlib/Hamlib/issues/798pull/799/head
rodzic
8ab0f0167d
commit
1a7a7a5ae7
|
@ -673,6 +673,7 @@ static const char *modeMapGetFLRig(rmode_t modeHamlib)
|
|||
|
||||
for (i = 0; modeMap[i].mode_hamlib != 0; ++i)
|
||||
{
|
||||
if (modeMap[i].mode_flrig == NULL) continue;
|
||||
rig_debug(RIG_DEBUG_TRACE,
|
||||
"%s: checking modeMap[%d]=%.0f to modeHamlib=%.0f, mode_flrig='%s'\n", __func__,
|
||||
i, (double)modeMap[i].mode_hamlib, (double)modeHamlib, modeMap[i].mode_flrig);
|
||||
|
|
Ładowanie…
Reference in New Issue