X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftilt%2Ftilt-example.cpp;h=783acbe479cced306b2e3a1120fb1da4cee0cc39;hb=refs%2Fchanges%2F30%2F145630%2F1;hp=230704aef1e535cf529f5cd5890225cca42844bf;hpb=87d45c11e1284c522302663828acbed125dc5eb9;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/tilt/tilt-example.cpp b/examples/tilt/tilt-example.cpp index 230704a..783acbe 100644 --- a/examples/tilt/tilt-example.cpp +++ b/examples/tilt/tilt-example.cpp @@ -67,7 +67,7 @@ public: void CreateSensor() { mTiltSensor = TiltSensor::Get(); - if ( mTiltSensor.Enable() ) + if ( mTiltSensor.Start() ) { // Get notifications when the device is tilted mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );