nbhw16: fix shield_comio for rs232
This commit is contained in:
parent
3f18cdaff7
commit
bf28f7c85e
|
|
@ -221,6 +221,9 @@ static int get_mode_from_args(char * const argv[], int argc)
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
rs232 = 1;
|
||||
}
|
||||
|
||||
/* Termination is inverse */
|
||||
return (rs232 << 0) | ((!termination) << 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue