diff options
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/flash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/flash.h b/libmaple/include/libmaple/flash.h index d3810a7..4ecfb77 100644 --- a/libmaple/include/libmaple/flash.h +++ b/libmaple/include/libmaple/flash.h @@ -77,6 +77,9 @@ static inline void flash_enable_features(uint32 feature_flags) { FLASH_BASE->ACR |= feature_flags; } +/** + * @brief Deprecated. Use flash_enable_features(FLASH_PREFETCH) instead. + */ static inline void flash_enable_prefetch(void) { flash_enable_features(FLASH_PREFETCH); } |