adcSTM32EnableTS differences between ADCv2 and ADCv3

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
neums
Posts: 137
Joined: Fri May 08, 2015 1:09 pm
Has thanked: 10 times
Been thanked: 5 times

adcSTM32EnableTS differences between ADCv2 and ADCv3

Post by neums »

Hi,
why the amount of parameter of adcSTM32EnableTS is different in ADCv2 and ADCv3?
ADCv3:

Code: Select all

adcSTM32EnableTS(ADCDriver *adcp)

and ADCv2:

Code: Select all

void adcSTM32EnableTSVREFE(void)


ADCv3 has two different CCR, but the temperature sensor is always connected to ADC1, isn't it? So the pointer to ADCDriver as parameter is not required in the function of ADCv3. Maybe we can unify the interface of this function.

Thanks
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: adcSTM32EnableTS differences between ADCv2 and ADCv3

Post by Giovanni »

hi,

Moving in "bug reports".

Giovanni
Post Reply