Commit d4300730 authored by blckmn's avatar blckmn Committed by Sudan Landge
Browse files

Update armv8m_mpu.h - adding void

Removes error:
error: old-style function definition [-Werror=old-style-definition]
parent 1bfb9d2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}