aboutsummaryrefslogtreecommitdiff
path: root/comport
diff options
context:
space:
mode:
Diffstat (limited to 'comport')
-rw-r--r--comport/comport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/comport/comport.c b/comport/comport.c
index 3a96db7..4dd86c9 100644
--- a/comport/comport.c
+++ b/comport/comport.c
@@ -1213,7 +1213,7 @@ allows COM port numbers to be specified. */
if(argc > 0 && argv->a_type == A_FLOAT)
com_num = atom_getfloatarg(0,argc,argv);
- if(argc > 1 && argv->a_type == A_FLOAT)
+ if(argc > 1)
fbaud = atom_getfloatarg(1,argc,argv);
/* Open the Comport for RD and WR and get a handle */