We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30e382 commit ab2299fCopy full SHA for ab2299f
platform/source/mbed_application.c
@@ -117,11 +117,7 @@ static void powerdown_scb(uint32_t vtor)
117
num_pri_reg = 12;
118
#endif
119
for (i = 0; i < num_pri_reg; i++) {
120
-#if defined(__CORTEX_M7) || defined(__CORTEX_M23) || defined(__CORTEX_M33)
121
SCB->SHPR[i] = 0x00;
122
-#else
123
- SCB->SHP[i] = 0x00;
124
-#endif
125
}
126
SCB->SHCSR = 0x00000000;
127
#if defined(__CORTEX_M23) || defined(__CORTEX_M0PLUS)
0 commit comments