From c3df8e705d2f8222477899c2eb6bd58bd5cf2400 Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Sat, 1 Aug 2026 15:55:38 +0800 Subject: [PATCH] Added def: FORCE_INLINE & STATIC_FORCE_INLINE --- include/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/common.h b/include/common.h index e2899e2fd..b138fb953 100644 --- a/include/common.h +++ b/include/common.h @@ -51,6 +51,8 @@ #define FULLIMAGE_SUBDIR "armsrc" PATHSEP "obj" PATHSEP #define PACKED __attribute__((packed)) +#define FORCE_INLINE inline __attribute__((always_inline)) +#define STATIC_FORCE_INLINE static inline __attribute__((always_inline)) typedef enum { MAIN_CHIP_TYPE_AT91 = 0, // -> PM3V