Fix compilation after revert

pull/948/head
Mike Black W9MDB 2022-01-26 18:04:29 -06:00
rodzic f696123a3b
commit b5bcae4af3
3 zmienionych plików z 0 dodań i 13 usunięć

Wyświetl plik

@ -412,7 +412,6 @@ int HAMLIB_API amp_open(AMP *amp)
}
}
memcpy(&rs->ampport_deprecated, &rs->ampport, sizeof(hamlib_port_t_deprecated));
return RIG_OK;
}
@ -497,8 +496,6 @@ int HAMLIB_API amp_close(AMP *amp)
rs->comm_state = 0;
memcpy(&amp->state.ampport_deprecated, &amp->state.ampport, sizeof(amp->state.ampport_deprecated));
return RIG_OK;
}

Wyświetl plik

@ -1141,8 +1141,6 @@ int HAMLIB_API rig_open(RIG *rig)
// freq_t freq;
// if (caps->get_freq) rig_get_freq(rig, RIG_VFO_A, &freq);
// if (caps->get_freq) rig_get_freq(rig, RIG_VFO_B, &freq);
memcpy(&(rs->rigport_deprecated),&(rs->rigport),sizeof(hamlib_port_t_deprecated));
RETURNFUNC(RIG_OK);
}
@ -1300,10 +1298,6 @@ int HAMLIB_API rig_close(RIG *rig)
rig_debug(RIG_DEBUG_VERBOSE, "%s(%d): %p rs->comm_state==0?=%d\n", __func__, __LINE__, &rs->comm_state,
rs->comm_state);
memcpy(&rs->rigport_deprecated,&rs->rigport,sizeof(hamlib_port_t_deprecated));
memcpy(&rs->pttport_deprecated,&rs->pttport,sizeof(hamlib_port_t_deprecated));
memcpy(&rs->dcdport_deprecated,&rs->dcdport,sizeof(hamlib_port_t_deprecated));
RETURNFUNC(RIG_OK);
}
@ -2885,8 +2879,6 @@ int HAMLIB_API rig_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
if (retcode != RIG_OK) { rig_debug(RIG_DEBUG_ERR, "%s: return code=%d\n", __func__, retcode); }
memcpy(&rs->pttport_deprecated,&rs->pttport,sizeof(hamlib_port_t_deprecated));
ELAPSED2;
RETURNFUNC(retcode);

Wyświetl plik

@ -485,8 +485,6 @@ int HAMLIB_API rot_open(ROT *rot)
}
}
memcpy(&rot->state.rotport_deprecated, &rot->state.rotport, sizeof(rot->state.rotport_deprecated));
return RIG_OK;
}