Fixed bug #1247.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15868 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
6917eedc3f
commit
fcf3047bb3
|
@ -224,7 +224,7 @@ void adc_lld_start_conversion(ADCDriver *adcp) {
|
|||
|
||||
/* ADC setup.*/
|
||||
adcp->adc->SR = 0;
|
||||
adcp->adc->SMPR1 = grpp->smpr1;
|
||||
adcp->adc->SMPR1 = grpp->smpr1 | ADC_SQR1_NUM_CH(grpp->num_channels);
|
||||
adcp->adc->SMPR2 = grpp->smpr2;
|
||||
adcp->adc->SMPR3 = grpp->smpr3;
|
||||
adcp->adc->SQR1 = grpp->sqr1;
|
||||
|
|
|
@ -131,6 +131,8 @@
|
|||
- NEW: Increased stacks size in RT test suite from 128 to 192. added an
|
||||
option to override the stack size by defining THREADS_STACK_SIZE
|
||||
in the makefile.
|
||||
- FIX: Fixed wrong initialization in STM32L1xx ADC driver (bug #1247)
|
||||
(backported to 20.3.5)(backported to 21.11.3).
|
||||
- FIX: Fixed wrong HSI48 support on STM32L0xx (bug #1246)
|
||||
(backported to 20.3.5)(backported to 21.11.3).
|
||||
- FIX: Fixed wrong DMA definitions for STM32L0xx I2C3 peripheral (bug #1245)
|
||||
|
|
Loading…
Reference in New Issue