Skip to content

Commit

Permalink
hide warning for infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Nov 22, 2023
1 parent 141d567 commit 2f0de32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/tests/mpu_stack_growth/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ static void read_ptr(uint32_t* p) {
printf(" value %lu\n", *p);
}

#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Winfinite-recursion"
static void grow_stack(void) {
register uint32_t* sp asm ("sp");

Expand Down

0 comments on commit 2f0de32

Please sign in to comment.