summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_serial.cpp
authorwazlaf <wazlaf>2002-09-28 15:21:53 (UTC)
committer wazlaf <wazlaf>2002-09-28 15:21:53 (UTC)
commit18d575d0ee47a0700091de81bc3e8c54be4eae18 (patch) (side-by-side diff)
treea4a890a3d9e823ed75ba0b5a51a67b6e47a57ab9 /noncore/apps/opie-console/io_serial.cpp
parentea1975bdf411de3e08e7b84d2480a522596fe143 (diff)
downloadopie-18d575d0ee47a0700091de81bc3e8c54be4eae18.zip
opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.gz
opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.bz2
indenting, comments
Diffstat (limited to 'noncore/apps/opie-console/io_serial.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_serial.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_serial.cpp b/noncore/apps/opie-console/io_serial.cpp
index 9a81de9..c9155d1 100644
--- a/noncore/apps/opie-console/io_serial.cpp
+++ b/noncore/apps/opie-console/io_serial.cpp
@@ -118,6 +118,10 @@ bool IOSerial::open() {
void IOSerial::reload(const Config &config) {
m_device = config.readEntry("Device", SERIAL_DEFAULT_DEVICE);
m_baud = config.readNumEntry("Baud", SERIAL_DEFAULT_BAUD);
+ m_parity = config.readNumEntry("Parity", SERIAL_DEFAULT_PARITY);
+ m_dbits = config.readNumEntry("DataBits", SERIAL_DEFAULT_DBITS);
+ m_sbits = config.readNumEntry("StopBits", SERIAL_DEFAULT_SBITS);
+ m_flow = config.readNumEntry("Flow", SERIAL_DEFAULT_FLOW);
}
int IOSerial::getBaud(int baud) const {