We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4437a56 commit feb6d5fCopy full SHA for feb6d5f
source/led.cpp
@@ -37,6 +37,12 @@ UVISOR_BOX_HEAPSIZE(3072);
37
UVISOR_BOX_MAIN(my_box_main, osPriorityNormal, 1024);
38
UVISOR_BOX_CONFIG(my_box, acl, 1024, my_box_context);
39
40
+/* FIXME: The guard is needed for backwards-compatibility reasons. Remove it
41
+ * when mbed OS is updated. */
42
+#ifdef __uvisor_ctx
43
+#define uvisor_ctx ((my_box_context *) __uvisor_ctx)
44
+#endif
45
+
46
static void my_box_switch_irq(void)
47
{
48
/* Flip LED state. */
0 commit comments