You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/05/05 15:19:45 UTC

incubator-mynewt-core git commit: woops. fix to assign j

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop e080c3c4c -> 3334005d6


woops.  fix to assign j


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/3334005d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/3334005d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/3334005d

Branch: refs/heads/develop
Commit: 3334005d6ddbd75dc84d813f648f36ef93888b4e
Parents: e080c3c
Author: Sterling Hughes <st...@apache.org>
Authored: Thu May 5 08:19:39 2016 -0700
Committer: Sterling Hughes <st...@apache.org>
Committed: Thu May 5 08:19:39 2016 -0700

----------------------------------------------------------------------
 libs/os/src/os_eventq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3334005d/libs/os/src/os_eventq.c
----------------------------------------------------------------------
diff --git a/libs/os/src/os_eventq.c b/libs/os/src/os_eventq.c
index 9645a0d..4e9ea73 100644
--- a/libs/os/src/os_eventq.c
+++ b/libs/os/src/os_eventq.c
@@ -129,7 +129,7 @@ os_eventq_poll(struct os_eventq **evq, int nevqs, os_time_t timo)
             /* Reset the items that already have an evq task set
              */
             for (j = 0; j < i; j++) {
-                evq[i]->evq_task = NULL;
+                evq[j]->evq_task = NULL;
             }
 
             OS_EXIT_CRITICAL(sr);