From 99ca63216d9dd4985e0892dad6b3ddfe216c6b8c Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 8 May 2012 16:24:16 -0400 Subject: libmaple/flash.h: Deprecate flash_enable_prefetch(). Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/flash.h | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit v1.2.3