kopia lustrzana https://github.com/Hamlib/Hamlib
Remove dead code in tci1x.c
Note that tci1x is not functional at all yetHamlib-4.4
rodzic
361dc2c2e2
commit
1fe7a9a780
|
@ -840,26 +840,6 @@ static int tci1x_cleanup(RIG *rig)
|
|||
|
||||
rig->state.priv = NULL;
|
||||
|
||||
// we really don't need to free this up as it's only done once
|
||||
// was causing problem when cleanup was followed by rig_open
|
||||
// model_tci1x was not getting refilled
|
||||
// if we can figure out that one we can re-enable this
|
||||
#if 0
|
||||
int i;
|
||||
|
||||
for (i = 0; modeMap[i].mode_hamlib != 0; ++i)
|
||||
{
|
||||
if (modeMap[i].mode_tci1x)
|
||||
{
|
||||
free(modeMap[i].mode_tci1x);
|
||||
modeMap[i].mode_tci1x = NULL;
|
||||
modeMap[i].mode_hamlib = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue