diff options
Diffstat (limited to 'hal/Hal.cpp')
-rw-r--r-- | hal/Hal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hal/Hal.cpp b/hal/Hal.cpp index 16201a2d8..e60a3ee61 100644 --- a/hal/Hal.cpp +++ b/hal/Hal.cpp @@ -590,6 +590,7 @@ UnregisterSensorObserver(SensorType aSensor, ISensorObserver *aObserver) { AssertMainThread(); if (!gSensorObservers) { + HAL_ERR("Un-registering a sensor when none have been registered"); return; } |