diff --git a/user/tasks/examples/fifo-ex.c b/user/tasks/examples/fifo-ex.c index e2eaec8..ab0998f 100644 --- a/user/tasks/examples/fifo-ex.c +++ b/user/tasks/examples/fifo-ex.c @@ -13,7 +13,7 @@ #define TEST_STR "[fifo example] hello world\n\r" #define LEN strlen(TEST_STR) -static bool fifo_init_ready = false; +static volatile bool fifo_init_ready = false; void fifo_task1(void) {