Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Dwar
Posts: 12
Joined: Fri Jan 08, 2016 2:04 pm
Location: USA
Has thanked: 4 times
Been thanked: 3 times

Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c

Postby Dwar » Sat May 07, 2016 10:10 am

In the trunk:

void adcSTM32EnableVREF(ADCDriver *adcp) {

adcp->adcc->CCR |= ADC_CCR_VBATEN;
}

and

void adcSTM32DisableVREF(ADCDriver *adcp) {

adcp->adcc->CCR &= ~ADC_CCR_VBATEN;
}

should both be using ADC_CCR_VREFEN


On an unrelated note: What happened to <code> ....<\code> ?

User avatar
RoccoMarco
Posts: 635
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 78 times
Been thanked: 60 times
Contact:

Re: Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c

Postby RoccoMarco » Sat May 07, 2016 10:15 am

Most likely you meant to say

Code: Select all

[code]
It works perfectly
[/code]

Ciao,
RM

User avatar
RoccoMarco
Posts: 635
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 78 times
Been thanked: 60 times
Contact:

Re: Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c  Topic is solved

Postby RoccoMarco » Sat May 07, 2016 10:49 am

Thanks Dwar,
fixed as bug #740 in trunk and backported in stable 16.1.5.
Ciao,
RM


Return to “Bug Reports”

Who is online

Users browsing this forum: mobyfab and 6 guests