You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2017/02/23 22:33:43 UTC

[49/50] incubator-mynewt-core git commit: SensorAPI - os_eventq_ensure() has been deprecated

SensorAPI - os_eventq_ensure() has been deprecated


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/8d1bde98
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/8d1bde98
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/8d1bde98

Branch: refs/heads/sensors_branch
Commit: 8d1bde984ae2043fd8c2d03df955b3cd858d882c
Parents: d21ef0f
Author: Vipul Rahane <vi...@apache.org>
Authored: Thu Feb 23 13:51:25 2017 -0800
Committer: Vipul Rahane <vi...@apache.org>
Committed: Thu Feb 23 13:51:25 2017 -0800

----------------------------------------------------------------------
 hw/sensor/src/sensor.c | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/8d1bde98/hw/sensor/src/sensor.c
----------------------------------------------------------------------
diff --git a/hw/sensor/src/sensor.c b/hw/sensor/src/sensor.c
index 102c0fe..89a19df 100644
--- a/hw/sensor/src/sensor.c
+++ b/hw/sensor/src/sensor.c
@@ -234,8 +234,6 @@ done:
 struct os_eventq *
 sensor_mgr_evq_get(void)
 {
-    os_eventq_ensure(&sensor_mgr.mgr_eventq, NULL);
-
     return (sensor_mgr.mgr_eventq);
 }