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>2019-06-02 23:36:57 +0300
committerKarl Palsson <karlp@tweak.net.au>2019-06-02 23:36:57 +0300
commit49a3cddba0cf7ea9a6d14ad5e156583e982106e2 (patch)
tree72cb2ed905da4a8d878e2dd77f31b397c22a48da
parentf9900304404fc97deef5cda3b1549bb456faf621 (diff)
stm32f4:rcc: add new api directly to deprecated message
This makes the compiler warnings more useful.
-rw-r--r--include/libopencm3/stm32/f4/rcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/f4/rcc.h b/include/libopencm3/stm32/f4/rcc.h
index a206f70c..6e083547 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 __attribute__((deprecated)) rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock);
+void __attribute__((deprecated("Use rcc_clock_setup_pll as direct replacement"))) rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock);
END_DECLS