summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:49:54 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:49:54 -0500
commit6f54d6f2efeb88630e69cd673f5be55e16735f22 (patch)
tree5a4757adfb20e2fe9b7fe66bb3b9135389cb4774 /device-functions.c
parent26fbe0556b9260c29ac1aa082d7ce3baacadb665 (diff)
removed parity and databit settings, because they are now automatic
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/device-functions.c b/device-functions.c
index 90a5f92..4753b28 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -4622,14 +4622,12 @@ void Main_update_shift_registers()
}
-int IO_Setup_RS232(int baud, char parity, char stopbits, char databits, char hardhand, char echo, gboolean update_flash)
+int IO_Setup_RS232(int baud, char stopbits, char hardhand, char echo, gboolean update_flash)
{
// debugging
- printf ("baud: %d, parity %d, stop bits %d, data bits %d, handshaking %d, echo %d\n\r",
+ printf ("baud: %d, stop bits %d, handshaking %d, echo %d\n\r",
baud,
- parity, // 0 = none, 1 = odd, 2 = even
stopbits,
- databits,
hardhand, // 0 = none, 1 = hard
echo);
@@ -4645,9 +4643,7 @@ int IO_Setup_RS232(int baud, char parity, char stopbits, char databits, char har
if (1) { // FIXME if changes are successful
globals.Flash.baud = baud;
- globals.Flash.parity = parity;
globals.Flash.stopbits = stopbits;
- globals.Flash.databits = databits;
globals.Flash.hardhand = hardhand;
globals.Flash.echo = echo;