From 1cb917804b3b12d7f878ccd70418ddb13849d29e Mon Sep 17 00:00:00 2001 From: Blake Jakopovic Date: Thu, 11 Dec 2014 10:59:31 +1000 Subject: [PATCH] Added missing bracket in Ref3_eventloop.txt --- Ref3_eventloop.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ref3_eventloop.txt b/Ref3_eventloop.txt index e99610e..692baeb 100644 --- a/Ref3_eventloop.txt +++ b/Ref3_eventloop.txt @@ -62,7 +62,7 @@ while (any events are registered with the loop, else Wait until at least one event has triggered, and mark it active. - for (p = 0; p < n_priorities; ++p { + for (p = 0; p < n_priorities; ++p) { if (any event with priority of p is active) { Run all active events with priority of p. break; /* Do not run any events of a less important priority */