1
0
Fork 0
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:
Jay Blackman 2024-11-26 07:16:45 +11:00 committed by GitHub
parent 63514c2b54
commit 53d44aa1b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 264 additions and 127 deletions

View file

@ -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);
}