From 8dfd1d3a87496df99a4d553e1399a187fc4bd77d Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 14 Jun 2007 09:58:34 +0000 Subject: [PATCH] set the baud rate to 2400 (hard-coded; TODO: fix this) --- campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx index 6923ae692..24f58d47a 100644 --- a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -414,6 +414,9 @@ GLiveSupport :: configure(const xmlpp::Element & element) optionsContainer->setOptionItem(OptionsContainer::serialDeviceName, serialDevice); } + // configure the serial port + // TODO: make this configurable + serialStream->SetBaudRate(LibSerial::SerialStreamBuf::BAUD_2400); }