sensorservices/orientationssy/src/SsyProperty.cpp
changeset 29 e5a0aab53f3f
parent 0 4e1aa6a622a0
child 59 0f7422b6b602
--- a/sensorservices/orientationssy/src/SsyProperty.cpp	Fri May 14 17:08:00 2010 +0300
+++ b/sensorservices/orientationssy/src/SsyProperty.cpp	Thu May 27 14:11:20 2010 +0300
@@ -297,14 +297,13 @@
 
     else if ( aProperty.GetPropertyId() == KSensrvPropIdDataRate )
         {
-        SSY_TRACE( EExtended, "ORIENTATIONSSY: Updating data rate property" );
-        // Data rate property is replaced in a different way than others.
-        // Note that this can be done only once as this property is set to read only.
-        aProperty.GetValue( intValue );
-        // Leave value to 0, update only max value because that is the only value we can provide
+        // Since Orientation is an event, the data rate property is made readonly.
+        // In ssyconfiguration.h file, the datarate property is defined as writable,
+        // it is not modified due to backward compatibility. 
+        // Now it is changed and the orientation channel property is made readonly always.
+        
         if( iChannelProperties.Count() >= index )
             {
-            iChannelProperties[index].iIntMaxValue = intValue;
             iChannelProperties[index].iReadOnly = ETrue;
             }