stm32: adc: standardize adc_power_off naming. [BREAKING]

Instead of a mismatch of adc_power_on/adc_off, we now have a matched pair of
adc_power_{on,off}

For some people, this is a breaking change in the API!
This commit is contained in:
Karl Palsson
2015-10-16 21:59:40 +00:00
parent c759ba59d0
commit 50c056f965
5 changed files with 6 additions and 6 deletions

View File

@@ -97,7 +97,7 @@
* adc_reg_base
*/
void adc_off(uint32_t adc)
void adc_power_off(uint32_t adc)
{
ADC_CR(adc) &= ~ADC_CR_ADEN;
}