From a484e7ef47b23e2447697bb7dd39ddaab3d734e3 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Wed, 23 Aug 2017 15:43:38 +0900 Subject: [PATCH] Change Enable() API to Start() in TiltSensor Change-Id: I14483d75ffd8bcbb252a64449a69e1abe654eaa7 Signed-off-by: Seoyeon Kim --- examples/tilt/tilt-example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.7.4