Mercurial > public > ostc4
diff Common/Drivers/CMSIS/Include/cmsis_gcc.h @ 1014:8c0134a287da GasConsumption
Add a log data event to the scrubber timer at the start of the dive and every time the timer (in minutes)
is decremented. The event contains a 12 bit signed integer for the remaining scrubber duration, and two
flags for scrubber warning (0x2000, <= 30 minutes remaining) and scrubber error (0x4000, <= 0 minutes remaining).
(mikeller)
| author | heinrichsweikamp |
|---|---|
| date | Sun, 11 May 2025 16:18:20 +0200 |
| parents | bad5561c0c59 |
| children |
line wrap: on
line diff
--- a/Common/Drivers/CMSIS/Include/cmsis_gcc.h Sat May 10 21:27:06 2025 +0200 +++ b/Common/Drivers/CMSIS/Include/cmsis_gcc.h Sun May 11 16:18:20 2025 +0200 @@ -185,11 +185,10 @@ \param [in] topOfMainStack Main Stack Pointer value to set */ -// This is deprecated, get the compiler to shut up about it -//__attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack) -//{ -// __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp"); -//} +__attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack) +{ + __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp"); +} /**
