kopia lustrzana https://github.com/Hamlib/Hamlib
Add some more memcpy's to amplifier.c rotator.c for deprecated structure
rodzic
2f38a32b0a
commit
5c1b328b22
|
@ -412,6 +412,8 @@ int HAMLIB_API amp_open(AMP *amp)
|
|||
|
||||
if (status != RIG_OK)
|
||||
{
|
||||
memcpy(&->state.ampport_deprecated, &->state.ampport,
|
||||
sizeof(amp->state.ampport_deprecated));
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -484,6 +484,8 @@ int HAMLIB_API rot_open(ROT *rot)
|
|||
|
||||
if (status != RIG_OK)
|
||||
{
|
||||
memcpy(&rot->state.rotport_deprecated, &rot->state.rotport,
|
||||
sizeof(rot->state.rotport_deprecated));
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue