Skip to content
Snippets Groups Projects
Commit 18ad40b9 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

ARMv7-M: Fix double allocation of MPU region in mmu.h

parent 61bdea16
No related branches found
No related tags found
No related merge requests found
......@@ -357,7 +357,7 @@ static inline void mpu_priv_flash(uintptr_t base, size_t size)
/* Select the region */
putreg32(mpu_allocregion(), MPU_RNR);
putreg32(region, MPU_RNR);
/* Select the region base address */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment