From 5c6499c56cd5c00603634546e6ba8c4d9da9741d Mon Sep 17 00:00:00 2001 From: harlekin Date: Thu, 22 Apr 2004 18:58:37 +0000 Subject: 2400 and 4800 baud added, also free font selection --- (limited to 'noncore/apps/opie-console/serialconfigwidget.cpp') diff --git a/noncore/apps/opie-console/serialconfigwidget.cpp b/noncore/apps/opie-console/serialconfigwidget.cpp index 3edf723..5f3547a 100644 --- a/noncore/apps/opie-console/serialconfigwidget.cpp +++ b/noncore/apps/opie-console/serialconfigwidget.cpp @@ -82,6 +82,12 @@ void SerialConfigWidget::load( const Profile& prof ) { case 19200: m_base->setSpeed( IOLayerBase::Baud_19200 ); break; + case 4800: + m_base->setSpeed( IOLayerBase::Baud_4800 ); + break; + case 2400: + m_base->setSpeed( IOLayerBase::Baud_2400 ); + break; case 9600: default: m_base->setSpeed(IOLayerBase::Baud_9600 ); @@ -157,6 +163,12 @@ void SerialConfigWidget::save( Profile& prof ) { case IOLayerBase::Baud_19200: speed = 19200; break; + case IOLayerBase::Baud_4800: + speed = 4800; + break; + case IOLayerBase::Baud_2400: + speed = 2400; + break; default: case IOLayerBase::Baud_9600: speed = 9600; -- cgit v0.9.0.2