Diffstat (limited to 'noncore/apps/opie-console/io_serial.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_serial.cpp | 4 |
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 | |||
@@ -115,12 +115,16 @@ bool IOSerial::open() { | |||
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||
118 | void IOSerial::reload(const Config &config) { | 118 | void IOSerial::reload(const Config &config) { |
119 | m_device = config.readEntry("Device", SERIAL_DEFAULT_DEVICE); | 119 | m_device = config.readEntry("Device", SERIAL_DEFAULT_DEVICE); |
120 | m_baud = config.readNumEntry("Baud", SERIAL_DEFAULT_BAUD); | 120 | m_baud = config.readNumEntry("Baud", SERIAL_DEFAULT_BAUD); |
121 | m_parity = config.readNumEntry("Parity", SERIAL_DEFAULT_PARITY); | ||
122 | m_dbits = config.readNumEntry("DataBits", SERIAL_DEFAULT_DBITS); | ||
123 | m_sbits = config.readNumEntry("StopBits", SERIAL_DEFAULT_SBITS); | ||
124 | m_flow = config.readNumEntry("Flow", SERIAL_DEFAULT_FLOW); | ||
121 | } | 125 | } |
122 | 126 | ||
123 | int IOSerial::getBaud(int baud) const { | 127 | int IOSerial::getBaud(int baud) const { |
124 | switch (baud) { | 128 | switch (baud) { |
125 | case 300: return B300; break; | 129 | case 300: return B300; break; |
126 | case 600: return B600; break; | 130 | case 600: return B600; break; |