STM32: L0: adc struct member does not exist anymore

pull/4623/head
Laurent MEUNIER 2017-07-17 14:35:00 +02:00
parent ea33f8bf94
commit b9d801fe72
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ int adc_inited = 0;
void analogin_init(analogin_t *obj, PinName pin)
{
uint32_t function = (uint32_t)NC;
obj->adc = (ADCName)NC;
obj->handle.Instance = (ADC_TypeDef *)NC;
// ADC Internal Channels "pins" (Temperature, Vref, Vbat, ...)
// are described in PinNames.h and PeripheralPins.c