From 203d0ca295d6e3d80ab70a5ce864dd87e79065d9 Mon Sep 17 00:00:00 2001 From: Jonathan Halmen Date: Sat, 27 Jul 2019 19:09:43 +0200 Subject: [PATCH] stm32f4: rcc: remove unnecessary pllsai functions existing standard functions for these are * rcc_osc_on(RCC_PLLSAI); * rcc_is_osc_ready(RCC_PLLSAI); --- include/libopencm3/stm32/f4/rcc.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/libopencm3/stm32/f4/rcc.h b/include/libopencm3/stm32/f4/rcc.h index 698780f0..151c73f7 100644 --- a/include/libopencm3/stm32/f4/rcc.h +++ b/include/libopencm3/stm32/f4/rcc.h @@ -756,18 +756,6 @@ #define RCC_CKGATENR_AHB2APB1_CKEN (1<<0) /*@}*/ -/* PLLSAI1 helper macros */ -static inline void rcc_pllsai_enable(void) -{ - RCC_CR |= RCC_CR_PLLSAION; -} - -static inline bool rcc_pllsai_ready(void) -{ - return (RCC_CR & RCC_CR_PLLSAIRDY) != 0; -} - - /* --- Variable definitions ------------------------------------------------ */ extern uint32_t rcc_ahb_frequency; extern uint32_t rcc_apb1_frequency;