Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-05-01 15:04:28 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-05-02 01:19:28 +0300
commitef44bdd09e83b929c878c5dbd3da27206f01a317 (patch)
treeec3efa1e0d91de5b562c0430fc6b80e34b881c46 /include/libopencm3/stm32/common/flash_common_f01.h
parent389ec825385042b3896b1fd9171548ba38cdf0b2 (diff)
BREAKING: stm32f0/f1: standardize flash_prefetch_xx
use the same API on all families, flash_prefetch_{enable,disable}()
Diffstat (limited to 'include/libopencm3/stm32/common/flash_common_f01.h')
-rw-r--r--include/libopencm3/stm32/common/flash_common_f01.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libopencm3/stm32/common/flash_common_f01.h b/include/libopencm3/stm32/common/flash_common_f01.h
index e765c3bd..d14a9709 100644
--- a/include/libopencm3/stm32/common/flash_common_f01.h
+++ b/include/libopencm3/stm32/common/flash_common_f01.h
@@ -98,8 +98,8 @@
BEGIN_DECLS
void flash_set_ws(uint32_t ws);
-void flash_prefetch_buffer_enable(void);
-void flash_prefetch_buffer_disable(void);
+void flash_prefetch_enable(void);
+void flash_prefetch_disable(void);
void flash_unlock(void);
void flash_lock(void);
void flash_clear_pgerr_flag(void);