kopia lustrzana https://github.com/Hamlib/Hamlib
Add some deprecated copies to ampctl.c
rodzic
b1acff5877
commit
a360bd0a07
tests
|
@ -312,12 +312,14 @@ int main(int argc, char *argv[])
|
|||
if (amp_file)
|
||||
{
|
||||
strncpy(my_amp->state.ampport.pathname, amp_file, HAMLIB_FILPATHLEN - 1);
|
||||
strncpy(my_amp->state.ampport_deprecated.pathname, amp_file, HAMLIB_FILPATHLEN - 1);
|
||||
}
|
||||
|
||||
/* FIXME: bound checking and port type == serial */
|
||||
if (serial_rate != 0)
|
||||
{
|
||||
my_amp->state.ampport.parm.serial.rate = serial_rate;
|
||||
my_amp->state.ampport_deprecated.parm.serial.rate = serial_rate;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
Ładowanie…
Reference in New Issue