summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-11 09:23:09 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-11 09:23:09 -0400
commitc9b47b6f58017ce6a0ae48a454545edb4715ca7a (patch)
tree873df2844e82edf1f77c5c31a66906eb1cccbe0d /flash.c
parent959e1cf54cea0a3252c4852224a290c56c50df2a (diff)
added support for serial parameters
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/flash.c b/flash.c
index f670fa3..e3ce2ce 100644
--- a/flash.c
+++ b/flash.c
@@ -337,7 +337,12 @@ static void initFlashValues(FlashStruct *mem)
mem->telnet_session_timeout=600; /* ten minutes */
mem->telnet_logon_timeout=30; /* thirty seconds */
- mem->rcl_rs232=52;
+ mem->baud = 1200;
+ mem->parity = rs232_parity_none;
+ mem->stopbits = 1;
+ mem->databits = 8;
+ mem->hardhand = 1;
+ mem->echo = 1;
mem->on_off_used=1;