summaryrefslogtreecommitdiff
path: root/third_party/CMSIS/Device
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-03-07 19:10:25 +0300
committerOxore <oxore@protonmail.com>2023-03-07 19:10:25 +0300
commit3282a756679019fd723346cc3bc584cc582eb669 (patch)
treea1992e7851fee8ca07929bb8c9f0877a7401d70c /third_party/CMSIS/Device
parentac69a640ba9dde383b9c3ddca59c3d6d14ea5b2e (diff)
Begin implementing serial descriptors
Diffstat (limited to 'third_party/CMSIS/Device')
-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);