Skip to content

Commit ab2299f

Browse files
author
Jan Kamidra
committed
Core registers name fix
1 parent e30e382 commit ab2299f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

platform/source/mbed_application.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ static void powerdown_scb(uint32_t vtor)
117117
num_pri_reg = 12;
118118
#endif
119119
for (i = 0; i < num_pri_reg; i++) {
120-
#if defined(__CORTEX_M7) || defined(__CORTEX_M23) || defined(__CORTEX_M33)
121120
SCB->SHPR[i] = 0x00;
122-
#else
123-
SCB->SHP[i] = 0x00;
124-
#endif
125121
}
126122
SCB->SHCSR = 0x00000000;
127123
#if defined(__CORTEX_M23) || defined(__CORTEX_M0PLUS)

0 commit comments

Comments
 (0)