diff options
Diffstat (limited to 'src/tirtos/EventP_tirtos.c')
-rwxr-xr-x[-rw-r--r--] | src/tirtos/EventP_tirtos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tirtos/EventP_tirtos.c b/src/tirtos/EventP_tirtos.c index 2fac64a..d4c5bfd 100644..100755 --- a/src/tirtos/EventP_tirtos.c +++ b/src/tirtos/EventP_tirtos.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <ti/sysbios/knl/Event.h> | 35 | #include <ti/sysbios/knl/Event.h> |
36 | #include "EventP.h" | 36 | #include "EventP.h" |
37 | #include <xdc/runtime/Memory.h> | 37 | #include <xdc/runtime/Memory.h> |
38 | #include <xdc/runtime/Error.h> | ||
38 | #include <ti/osal/src/tirtos/tirtos_config.h> | 39 | #include <ti/osal/src/tirtos/tirtos_config.h> |
39 | 40 | ||
40 | /* | 41 | /* |
@@ -47,7 +48,7 @@ EventP_Handle EventP_create(EventP_Params *params) | |||
47 | 48 | ||
48 | Event_Params_init(&eventParams); | 49 | Event_Params_init(&eventParams); |
49 | 50 | ||
50 | eventHandle = Event_create(&eventParams, NULL_PTR); | 51 | eventHandle = Event_create(&eventParams, (Error_Block *) NULL_PTR); |
51 | 52 | ||
52 | return ((EventP_Handle)eventHandle); | 53 | return ((EventP_Handle)eventHandle); |
53 | } | 54 | } |