summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
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;