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:
@@ -357,7 +357,7 @@ specific memorymap.h header before including this header file.*/
|
||||
BEGIN_DECLS
|
||||
|
||||
void adc_power_on(uint32_t adc);
|
||||
void adc_off(uint32_t adc);
|
||||
void adc_power_off(uint32_t adc);
|
||||
void adc_enable_analog_watchdog_regular(uint32_t adc);
|
||||
void adc_disable_analog_watchdog_regular(uint32_t adc);
|
||||
void adc_enable_analog_watchdog_injected(uint32_t adc);
|
||||
|
||||
@@ -870,7 +870,7 @@
|
||||
BEGIN_DECLS
|
||||
|
||||
void adc_power_on(uint32_t adc);
|
||||
void adc_off(uint32_t adc);
|
||||
void adc_power_off(uint32_t adc);
|
||||
void adc_enable_analog_watchdog_regular(uint32_t adc);
|
||||
void adc_disable_analog_watchdog_regular(uint32_t adc);
|
||||
void adc_enable_analog_watchdog_injected(uint32_t adc);
|
||||
|
||||
Reference in New Issue
Block a user