diff --git a/include/libopencm3/stm32/f1/adc.h b/include/libopencm3/stm32/f1/adc.h index 91a03bbb..e31181d6 100644 --- a/include/libopencm3/stm32/f1/adc.h +++ b/include/libopencm3/stm32/f1/adc.h @@ -417,8 +417,6 @@ void adc_calibration(uint32_t adc) void adc_calibrate_async(uint32_t adc); bool adc_is_calibrating(uint32_t adc); void adc_calibrate(uint32_t adc); -void adc_on(uint32_t adc) - LIBOPENCM3_DEPRECATED("will be removed in the first release"); END_DECLS diff --git a/lib/stm32/f1/adc.c b/lib/stm32/f1/adc.c index c915ae88..bdb899a3 100644 --- a/lib/stm32/f1/adc.c +++ b/lib/stm32/f1/adc.c @@ -400,24 +400,6 @@ void adc_calibrate(uint32_t adc) while (adc_is_calibrating(adc)); } -/*---------------------------------------------------------------------------*/ -/** @brief ADC Power On - -If the ADC is in power-down mode then it is powered up. The application needs -to wait a time of about 3 microseconds for stabilization before using the ADC. -If the ADC is already on this function call will initiate a conversion. - -@deprecated to be removed in a later release - -@param[in] adc Unsigned int32. ADC block register address base @ref -adc_reg_base. -*/ - -void adc_on(uint32_t adc) -{ - ADC_CR2(adc) |= ADC_CR2_ADON; -} - /*---------------------------------------------------------------------------*/ /** @brief ADC Set the Sample Time for a Single Channel