Commit cdb93bbcb36c199c0a944cfc4483b05b1fca9a94

Authored by HyunJu Shin
Committed by Gerrit Code Review
2 parents f62b4c7f a484e7ef

Merge "Change Enable() API to Start() in TiltSensor" into devel/master

examples/tilt/tilt-example.cpp
@@ -67,7 +67,7 @@ public: @@ -67,7 +67,7 @@ public:
67 void CreateSensor() 67 void CreateSensor()
68 { 68 {
69 mTiltSensor = TiltSensor::Get(); 69 mTiltSensor = TiltSensor::Get();
70 - if ( mTiltSensor.Enable() ) 70 + if ( mTiltSensor.Start() )
71 { 71 {
72 // Get notifications when the device is tilted 72 // Get notifications when the device is tilted
73 mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted ); 73 mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );