--- a/sensorservices/tiltcompensationssy/src/tcstate.cpp Thu May 27 14:11:20 2010 +0300
+++ b/sensorservices/tiltcompensationssy/src/tcstate.cpp Fri Jun 11 14:56:08 2010 +0300
@@ -82,11 +82,14 @@
// CTCState::IsSet
// ----------------------------------------------------------------------------------
//
-TBool CTCState::IsSet( TUint32 /*aFlag*/ )
+TBool CTCState::IsSet( TUint32 aFlag )
{
FUNC_LOG;
- return ETrue;
+ if(iFlags & aFlag)
+ return ETrue;
+ else
+ return EFalse;
}
// ----------------------------------------------------------------------------------