nbhw16: fix shield_comio for rs232

This commit is contained in:
Stefan Eichenberger 2017-11-28 13:16:45 +01:00
parent 3f18cdaff7
commit bf28f7c85e
1 changed files with 3 additions and 0 deletions

View File

@ -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);