mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
cpu/stm32/periph/adc_f0: remove unused MAX_ADC_SPEED
This commit is contained in:
parent
205ae92b84
commit
629a5af8ed
@ -23,11 +23,6 @@
|
||||
#include "mutex.h"
|
||||
#include "periph/adc.h"
|
||||
|
||||
/**
|
||||
* @brief Maximum allowed ADC clock speed
|
||||
*/
|
||||
#define MAX_ADC_SPEED (12000000U)
|
||||
|
||||
/**
|
||||
* @brief Load the ADC configuration
|
||||
*/
|
||||
@ -61,7 +56,7 @@ int adc_init(adc_t line)
|
||||
|
||||
/* lock and power on the device */
|
||||
prep();
|
||||
/*configure the pin */
|
||||
/* configure the pin */
|
||||
gpio_init_analog(adc_config[line].pin);
|
||||
/* reset configuration */
|
||||
ADC1->CFGR2 = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user