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: 137
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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 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 11 guests