Skip to content

Commit 462bf38

Browse files
authored
Merge pull request #37 from niklas-arm/fix/master
Fix define symbol to context pointer
2 parents 5b85df4 + a435589 commit 462bf38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/led1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ UVISOR_BOX_CONFIG(box_led1, acl, 512, box_context);
2525
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
2626
* when mbed OS is updated. */
2727
#ifdef __uvisor_ctx
28-
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
28+
#define uvisor_ctx ((box_context *) __uvisor_ctx)
2929
#endif
3030

3131
static void led1_main(const void *)

source/led2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ UVISOR_BOX_CONFIG(box_led2, acl, 512, box_context);
2525
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
2626
* when mbed OS is updated. */
2727
#ifdef __uvisor_ctx
28-
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
28+
#define uvisor_ctx ((box_context *) __uvisor_ctx)
2929
#endif
3030

3131
static void led2_main(const void *)

source/led3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ UVISOR_BOX_CONFIG(box_led3, acl, 512, box_context);
2525
/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
2626
* when mbed OS is updated. */
2727
#ifdef __uvisor_ctx
28-
#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
28+
#define uvisor_ctx ((box_context *) __uvisor_ctx)
2929
#endif
3030

3131
static void run_3(void)

0 commit comments

Comments
 (0)