Add some deprecated copies to ampctl.c

pull/976/head
Mike Black W9MDB 2022-02-11 16:28:03 -06:00
rodzic b1acff5877
commit a360bd0a07
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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