commit | 865a28f1808afe1768c4e80d4d23de3c21cd40b1 | [log] [tgz] |
---|---|---|
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | Tue Jun 23 13:38:29 2020 +0300 |
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | Tue Jun 23 13:38:29 2020 +0300 |
tree | 9886bc7e7df3882c572c63b10e8604070711d7fc | |
parent | 69e02afb6e3c346671db157d8518c50fae3374ca [diff] |
Fix compiler warning in stackusage test case
diff --git a/tests/stackusage/stackusage.c b/tests/stackusage/stackusage.c index 6a86d90..7d08fa7 100644 --- a/tests/stackusage/stackusage.c +++ b/tests/stackusage/stackusage.c
@@ -15,7 +15,7 @@ */ #define MAX_STACK_ENTRIES 1024 static uint32_t g_stackbuf[MAX_STACK_ENTRIES]; -static uint32_t *g_stackptr; +static volatile uint32_t *g_stackptr; void start_stack_measuring() {