aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32F0xx/adc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32F0xx/adc_lld.c')
-rw-r--r--os/hal/ports/STM32F0xx/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32F0xx/adc_lld.c b/os/hal/ports/STM32F0xx/adc_lld.c
index 1c4ffce7f..b2aae96f1 100644
--- a/os/hal/ports/STM32F0xx/adc_lld.c
+++ b/os/hal/ports/STM32F0xx/adc_lld.c
@@ -179,7 +179,7 @@ void adc_lld_start(ADCDriver *adcp) {
if (adcp->state == ADC_STOP) {
#if STM32_ADC_USE_ADC1
if (&ADCD1 == adcp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(adcp->dmastp,
STM32_ADC_ADC1_DMA_IRQ_PRIORITY,
(stm32_dmaisr_t)adc_lld_serve_rx_interrupt,