Commit cdb93bbcb36c199c0a944cfc4483b05b1fca9a94
Committed by
Gerrit Code Review
Merge "Change Enable() API to Start() in TiltSensor" into devel/master
Showing
1 changed file
with
1 additions
and
1 deletions
examples/tilt/tilt-example.cpp
| ... | ... | @@ -67,7 +67,7 @@ public: |
| 67 | 67 | void CreateSensor() |
| 68 | 68 | { |
| 69 | 69 | mTiltSensor = TiltSensor::Get(); |
| 70 | - if ( mTiltSensor.Enable() ) | |
| 70 | + if ( mTiltSensor.Start() ) | |
| 71 | 71 | { |
| 72 | 72 | // Get notifications when the device is tilted |
| 73 | 73 | mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted ); | ... | ... |