mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(hw_support): build warning in __PERIPH_CTRL_DEPRECATE_ATTR
Merges https://github.com/espressif/esp-idf/pull/18577
This commit is contained in:
@@ -85,7 +85,7 @@ void periph_rcc_exit(void);
|
||||
#ifdef __PERIPH_CTRL_ALLOW_LEGACY_API
|
||||
#define __PERIPH_CTRL_DEPRECATE_ATTR
|
||||
#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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user