Merge branch 'bugfix/build_warning_pr_18577' into 'release/v5.5'

fix(hw_support): build warning in __PERIPH_CTRL_DEPRECATE_ATTR

See merge request espressif/esp-idf!48422
This commit is contained in:
morris
2026-05-13 15:03:03 +08:00
@@ -85,7 +85,7 @@ void periph_rcc_exit(void);
#ifdef __PERIPH_CTRL_ALLOW_LEGACY_API #ifdef __PERIPH_CTRL_ALLOW_LEGACY_API
#define __PERIPH_CTRL_DEPRECATE_ATTR #define __PERIPH_CTRL_DEPRECATE_ATTR
#else #else
#define __PERIPH_CTRL_DEPRECATE_ATTR __attribute__((deprecated("This function is not functional on "CONFIG_IDF_TARGET))) #define __PERIPH_CTRL_DEPRECATE_ATTR __attribute__((deprecated("This function is not functional on " CONFIG_IDF_TARGET)))
#endif #endif
/** /**