diff options
author | Oxore <oxore@protonmail.com> | 2023-03-07 19:10:25 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-07 19:10:25 +0300 |
commit | 3282a756679019fd723346cc3bc584cc582eb669 (patch) | |
tree | a1992e7851fee8ca07929bb8c9f0877a7401d70c /third_party | |
parent | ac69a640ba9dde383b9c3ddca59c3d6d14ea5b2e (diff) |
Begin implementing serial descriptors
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/CMSIS/Device/Include/cmsis_gcc.h | 4 |
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);
|