From 7d6fea084fc40160285fe3898bd56cec3902dca0 Mon Sep 17 00:00:00 2001 From: harlekin Date: Mon, 14 Oct 2002 19:01:58 +0000 Subject: parity none added --- (limited to 'noncore/apps/opie-console/btconfigwidget.cpp') diff --git a/noncore/apps/opie-console/btconfigwidget.cpp b/noncore/apps/opie-console/btconfigwidget.cpp index eac6a79..7673d0b 100644 --- a/noncore/apps/opie-console/btconfigwidget.cpp +++ b/noncore/apps/opie-console/btconfigwidget.cpp @@ -69,8 +69,10 @@ void BTConfigWidget::load( const Profile& prof ) { if (rad_parity == 1) { m_base->setParity( IOLayerBase::Even ); - } else { + } else if ( rad_parity == 2 ) { m_base->setParity( IOLayerBase::Odd ); + } else { + m_base->setParity( IOLayerBase::NonePar ); } switch( speed ) { @@ -125,6 +127,9 @@ void BTConfigWidget::save( Profile& prof ) { case IOLayerBase::Even: parity = 1; break; + case IOLayerBase::NonePar: + parity = 0; + break; } switch( m_base->speed() ) { -- cgit v0.9.0.2