summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-14 20:36:48 (UTC)
committer zecke <zecke>2002-10-14 20:36:48 (UTC)
commit8140420efa133ea59310d3f8de721950fd1d13af (patch) (unidiff)
tree9279c8e786f1a4476b598f112fd0a8541355d1ba
parent0547ecc794209a0824fd7662e434706ac625dbb2 (diff)
downloadopie-8140420efa133ea59310d3f8de721950fd1d13af.zip
opie-8140420efa133ea59310d3f8de721950fd1d13af.tar.gz
opie-8140420efa133ea59310d3f8de721950fd1d13af.tar.bz2
the BAud Value is called Speed not baud
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_serial.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/io_serial.cpp b/noncore/apps/opie-console/io_serial.cpp
index 4129d64..03f1b1a 100644
--- a/noncore/apps/opie-console/io_serial.cpp
+++ b/noncore/apps/opie-console/io_serial.cpp
@@ -129,11 +129,12 @@ void IOSerial::reload(const Profile &config) {
129 m_device = config.readEntry("Device", SERIAL_DEFAULT_DEVICE); 129 m_device = config.readEntry("Device", SERIAL_DEFAULT_DEVICE);
130 qWarning( "Dev" +m_device ); 130 qWarning( "Dev" +m_device );
131 qWarning( "Conf:" +config.readEntry("Device") ); 131 qWarning( "Conf:" +config.readEntry("Device") );
132 m_baud = config.readNumEntry("Baud", SERIAL_DEFAULT_BAUD); 132 m_baud = config.readNumEntry("Speed", SERIAL_DEFAULT_BAUD);
133 m_parity = config.readNumEntry("Parity", SERIAL_DEFAULT_PARITY); 133 m_parity = config.readNumEntry("Parity", SERIAL_DEFAULT_PARITY);
134 m_dbits = config.readNumEntry("DataBits", SERIAL_DEFAULT_DBITS); 134 m_dbits = config.readNumEntry("DataBits", SERIAL_DEFAULT_DBITS);
135 m_sbits = config.readNumEntry("StopBits", SERIAL_DEFAULT_SBITS); 135 m_sbits = config.readNumEntry("StopBits", SERIAL_DEFAULT_SBITS);
136 m_flow = config.readNumEntry("Flow", SERIAL_DEFAULT_FLOW); 136 m_flow = config.readNumEntry("Flow", SERIAL_DEFAULT_FLOW);
137
137} 138}
138 139
139int IOSerial::baud(int baud) const { 140int IOSerial::baud(int baud) const {