diff options
Diffstat (limited to 'src/reset.c')
-rw-r--r-- | src/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reset.c b/src/reset.c index 60b5b2b..b90b610 100644 --- a/src/reset.c +++ b/src/reset.c @@ -36,7 +36,7 @@ void softwareReset(void){ // Update the AIRCR. - *((uint32_t *)0xE000ED0C) = AIRCR; + *((volatile uint32_t *)0xE000ED0C) = AIRCR; /* * This instruction causes the program to wait until the previous memory |