diff fluid-mnf/target.c @ 348:37b5f94de802

fluid-mnf: sensible target tty specification
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Mar 2020 06:41:44 +0000
parents b595ff13547b
children
line wrap: on
line diff
--- a/fluid-mnf/target.c	Fri Mar 13 06:27:15 2020 +0000
+++ b/fluid-mnf/target.c	Fri Mar 13 06:41:44 2020 +0000
@@ -90,11 +90,11 @@
     serial_recv_reset();
 }
 
-int target_driver_init(int uart, int baudrate, char *flowcontrol)
+int target_driver_init(char *ttyport, int baudrate)
 {
     int rc;
 
-    rc = serial_init(uart, baudrate, flowcontrol);
+    rc = serial_init(ttyport, baudrate);
     if (rc < 0)
         return rc;