FIX: [uboot] comio shield fix rs232 mode

BugzId: 48404

SVN commit 25488@trunk
This commit is contained in:
Stefan Eichenberger 2017-11-28 12:29:13 +00:00 committed by Moritz Rosenthal
parent 97d92b3e5f
commit 4f0e0da6e6
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);