author | harlekin <harlekin> | 2004-10-12 21:50:15 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-10-12 21:50:15 (UTC) |
commit | 52867c8ca21a3bec10eb27c8f698855d8fca320e (patch) (side-by-side diff) | |
tree | 4958cca23caa32d85aa78de9c95715b34599f261 /noncore/apps/opie-console/serialconfigwidget.cpp | |
parent | 4eed63767cedb0d96b116c4b9233405ca93e5541 (diff) | |
download | opie-52867c8ca21a3bec10eb27c8f698855d8fca320e.zip opie-52867c8ca21a3bec10eb27c8f698855d8fca320e.tar.gz opie-52867c8ca21a3bec10eb27c8f698855d8fca320e.tar.bz2 |
also make 1200 baud connection possible
Diffstat (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/serialconfigwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp index 5f3547a..c4c9c99 100644 --- a/noncore/apps/opie-console/serialconfigwidget.cpp +++ b/noncore/apps/opie-console/serialconfigwidget.cpp @@ -87,8 +87,11 @@ void SerialConfigWidget::load( const Profile& prof ) { break; case 2400: m_base->setSpeed( IOLayerBase::Baud_2400 ); break; + case 1200: + m_base->setSpeed( IOLayerBase::Baud_1200 ); + break; case 9600: default: m_base->setSpeed(IOLayerBase::Baud_9600 ); break; @@ -168,8 +171,11 @@ void SerialConfigWidget::save( Profile& prof ) { break; case IOLayerBase::Baud_2400: speed = 2400; break; + case IOLayerBase::Baud_1200: + speed = 1200; + break; default: case IOLayerBase::Baud_9600: speed = 9600; break; |