fixed mrpeach's changes so that now it compiles again on non-win32
svn path=/trunk/externals/iem/comport/; revision=10305
This commit is contained in:
parent
1b05e2f7a4
commit
34873c90ba
1 changed files with 2 additions and 1 deletions
|
|
@ -787,8 +787,9 @@ static float set_parity(t_comport *x,int n)
|
|||
|
||||
|
||||
/* activate second stop bit with 1, 0(default)*/
|
||||
static float set_stopflag(t_comport *x, int nr)
|
||||
static float set_stopflag(t_comport *x, t_float f_nr)
|
||||
{
|
||||
int nr = (int)f_nr;
|
||||
struct termios *tio = &(x->com_termio);
|
||||
|
||||
if(nr == 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue