set the baud rate to 2400 (hard-coded; TODO: fix this)
This commit is contained in:
parent
eaa81a3600
commit
8dfd1d3a87
1 changed files with 3 additions and 0 deletions
|
@ -414,6 +414,9 @@ GLiveSupport :: configure(const xmlpp::Element & element)
|
||||||
optionsContainer->setOptionItem(OptionsContainer::serialDeviceName,
|
optionsContainer->setOptionItem(OptionsContainer::serialDeviceName,
|
||||||
serialDevice);
|
serialDevice);
|
||||||
}
|
}
|
||||||
|
// configure the serial port
|
||||||
|
// TODO: make this configurable
|
||||||
|
serialStream->SetBaudRate(LibSerial::SerialStreamBuf::BAUD_2400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue