--- a/sensorservices/orientationssy/src/SsyChannel.cpp Thu Aug 19 11:09:10 2010 +0300
+++ b/sensorservices/orientationssy/src/SsyChannel.cpp Tue Aug 31 16:29:05 2010 +0300
@@ -208,7 +208,12 @@
// CSSYChannel::RunError()
// ----------------------------------------------------------------------------------
//
+#ifdef _DEBUG
TInt CSSYChannel::RunError( TInt aError )
+#else
+// not used in UREL builds
+TInt CSSYChannel::RunError( TInt /*aError*/ )
+#endif
{
SSY_TRACE( EMust, "ORIENTATIONSSY:RunError %d", aError );
@@ -303,17 +308,6 @@
break;
case EChannelOpening:
{
- // Before completing channel opening, get max data rate from actual SSY
- if ( !iSensorProperties->DataRateUpdated() )
- {
- TSensrvProperty maxdatarate;
- RSensrvChannelList affectedChannels;
- // Get max data rate
- iOrientationHandler->GetMaxDataRateL( maxdatarate );
- // Set property
- iSensorProperties->SetProperty( maxdatarate, affectedChannels );
- }
-
SetChannelState( EChannelOpen );
iCallback->ChannelOpened( iChannelInfo.iChannelId, iStatus.Int(), this, this );
break;