[examples-v2 commit] ticker/low_ticker2/init.c: Add include <rtems/bspIo.h >

Joel Sherrill joel at rtems.org
Thu Oct 5 14:04:21 UTC 2017


Module:    examples-v2
Branch:    master
Commit:    9614ea5ec7477ffc8d63e7f64632258c343c3ea6
Changeset: http://git.rtems.org/examples-v2/commit/?id=9614ea5ec7477ffc8d63e7f64632258c343c3ea6

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Oct  5 09:03:50 2017 -0500

ticker/low_ticker2/init.c: Add include <rtems/bspIo.h>

---

 ticker/low_ticker2/init.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ticker/low_ticker2/init.c b/ticker/low_ticker2/init.c
index 3e557ce..417c9d5 100644
--- a/ticker/low_ticker2/init.c
+++ b/ticker/low_ticker2/init.c
@@ -10,6 +10,7 @@
 #include <stdlib.h>
 
 #include <bsp.h>
+#include <rtems/bspIo.h>
 
 rtems_task Test_task(
   rtems_task_argument task_index
@@ -34,8 +35,8 @@ rtems_task Test_task(
   }
 }
 
-rtems_task Init(
-  rtems_task_argument argument
+void Init(
+  uintptr_t argument
 )
 {
   rtems_status_code status;



More information about the vc mailing list