summaryrefslogtreecommitdiff
path: root/third_party/CMSIS
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/CMSIS')
-rw-r--r--third_party/CMSIS/Device/Include/cmsis_gcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/CMSIS/Device/Include/cmsis_gcc.h b/third_party/CMSIS/Device/Include/cmsis_gcc.h
index d868f2e..11d9594 100644
--- a/third_party/CMSIS/Device/Include/cmsis_gcc.h
+++ b/third_party/CMSIS/Device/Include/cmsis_gcc.h
@@ -147,7 +147,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_xPSR(void)
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_PSP(void)
{
- register uint32_t result;
+ uint32_t result;
__ASM volatile ("MRS %0, psp\n" : "=r" (result) );
return(result);
@@ -172,7 +172,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_PSP(uint32_t topOf
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_MSP(void)
{
- register uint32_t result;
+ uint32_t result;
__ASM volatile ("MRS %0, msp\n" : "=r" (result) );
return(result);