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/develop Commit: 8d1bde984ae2043fd8c2d03df955b3cd858d882c Parents: d21ef0f Author: Vipul Rahane <[email protected]> Authored: Thu Feb 23 13:51:25 2017 -0800 Committer: Vipul Rahane <[email protected]> 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); }
