This commit is contained in:
John Goerzen 2020-09-20 17:37:50 -05:00
parent 7e97cd2558
commit 7777496e47
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ impl XBSer {
/// Initialize the serial system, configuring the port.
pub fn new(portname: PathBuf) -> io::Result<XBSer> {
let settings = SerialPortSettings {
baud_rate: 115200,
baud_rate: 115200, // FIXME: make this configurable, default 9600
data_bits: DataBits::Eight,
flow_control: FlowControl::None,
parity: Parity::None,