From a360bd0a070f5a451239b39d6e621643df0cf219 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Fri, 11 Feb 2022 16:28:03 -0600 Subject: [PATCH] Add some deprecated copies to ampctl.c --- tests/ampctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ampctl.c b/tests/ampctl.c index cbe6f4a13..70b8954c2 100644 --- a/tests/ampctl.c +++ b/tests/ampctl.c @@ -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