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.
neums
Posts: 133
Joined: Fri May 08, 2015 1:09 pm
Location: Dresden, Germany
Has thanked: 10 times
Been thanked: 5 times

adcSTM32EnableTS differences between ADCv2 and ADCv3

Postby neums » Mon May 15, 2017 8:01 am

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: 9815
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 159 times
Been thanked: 144 times
Contact:

Re: adcSTM32EnableTS differences between ADCv2 and ADCv3

Postby Giovanni » Mon May 15, 2017 8:42 am

hi,

Moving in "bug reports".

Giovanni


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 0 guests