diff options
author | Karl Palsson <karlp@tweak.net.au> | 2019-06-02 15:50:34 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2019-06-02 15:50:34 +0300 |
commit | f9900304404fc97deef5cda3b1549bb456faf621 (patch) | |
tree | 7fb6802147258c4c46d6d37b6111a95aa22ed162 /include | |
parent | a9dde2832eb8039b9e0d21a50b9b991ddbfc4e2d (diff) |
stm32f4: rcc: move deprecated attribute to header
This makes it actually generate deprecated warnings. The deprecated
doxygen stays with the .c file as before.
Diffstat (limited to 'include')
-rw-r--r-- | include/libopencm3/stm32/f4/rcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/f4/rcc.h b/include/libopencm3/stm32/f4/rcc.h index 2c6ac630..a206f70c 100644 --- a/include/libopencm3/stm32/f4/rcc.h +++ b/include/libopencm3/stm32/f4/rcc.h @@ -1100,7 +1100,7 @@ void rcc_set_main_pll_hse(uint32_t pllm, uint32_t plln, uint32_t pllp, uint32_t pllq, uint32_t pllr); uint32_t rcc_system_clock_source(void); void rcc_clock_setup_pll(const struct rcc_clock_scale *clock); -void rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock); +void __attribute__((deprecated)) rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock); END_DECLS |