FIX: [uboot] comio shield fix rs232 mode
BugzId: 48404 SVN commit 25488@trunk
This commit is contained in:
parent
97d92b3e5f
commit
4f0e0da6e6
|
|
@ -221,6 +221,9 @@ static int get_mode_from_args(char * const argv[], int argc)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
rs232 = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Termination is inverse */
|
/* Termination is inverse */
|
||||||
return (rs232 << 0) | ((!termination) << 1);
|
return (rs232 << 0) | ((!termination) << 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue