mirror of https://github.com/ARMmbed/mbed-os.git
STM32: L0: adc struct member does not exist anymore
parent
ea33f8bf94
commit
b9d801fe72
|
@ -41,7 +41,7 @@ int adc_inited = 0;
|
||||||
void analogin_init(analogin_t *obj, PinName pin)
|
void analogin_init(analogin_t *obj, PinName pin)
|
||||||
{
|
{
|
||||||
uint32_t function = (uint32_t)NC;
|
uint32_t function = (uint32_t)NC;
|
||||||
obj->adc = (ADCName)NC;
|
obj->handle.Instance = (ADC_TypeDef *)NC;
|
||||||
|
|
||||||
// ADC Internal Channels "pins" (Temperature, Vref, Vbat, ...)
|
// ADC Internal Channels "pins" (Temperature, Vref, Vbat, ...)
|
||||||
// are described in PinNames.h and PeripheralPins.c
|
// are described in PinNames.h and PeripheralPins.c
|
||||||
|
|
Loading…
Reference in New Issue