mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Adding common source location in ./src/platform (#14044)
* Adding common source location in ./src/platform To enable the continued clean up of multiple files still in ./src/main/driver (more PRs to follow) that are specifically for AT32, APM32 and STM32 Source will be moved to MCU_COMMON_SRC where it is specifically for that MCU (or variant). The test will be to ensure no files in the MCU_EXCLUDES for SITL. * Use of +=
This commit is contained in:
parent
63514c2b54
commit
53d44aa1b1
27 changed files with 264 additions and 127 deletions
|
@ -188,7 +188,7 @@ typedef struct {
|
|||
\brief Read MPU Type Register
|
||||
\return Number of MPU regions
|
||||
*/
|
||||
__STATIC_INLINE uint32_t ARM_MPU_TYPE()
|
||||
__STATIC_INLINE uint32_t ARM_MPU_TYPE(void)
|
||||
{
|
||||
return ((MPU->TYPE) >> 8);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue