From 3282a756679019fd723346cc3bc584cc582eb669 Mon Sep 17 00:00:00 2001 From: Oxore Date: Tue, 7 Mar 2023 19:10:25 +0300 Subject: Begin implementing serial descriptors --- third_party/CMSIS/Device/Include/cmsis_gcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/CMSIS/Device/Include/cmsis_gcc.h') 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); -- cgit v1.2.3