From 95fc35d5f581597d26044733948f21aebf3845ac Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 14 Dec 2015 14:53:55 +0000 Subject: Fixed some details about ADCv3. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8600 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32L4xx/GPT-ADC/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32L4xx/GPT-ADC/main.c') diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/main.c b/testhal/STM32/STM32L4xx/GPT-ADC/main.c index bc695e55a..93d4bcff6 100644 --- a/testhal/STM32/STM32L4xx/GPT-ADC/main.c +++ b/testhal/STM32/STM32L4xx/GPT-ADC/main.c @@ -142,8 +142,8 @@ int main(void) { * Activates the ADC1 driver and the temperature sensor. */ adcStart(&ADCD1, NULL); - adcSTM32EnableVREF(); - adcSTM32EnableTS(); + adcSTM32EnableVREF(&ADCD1); + adcSTM32EnableTS(&ADCD1); /* * Starts an ADC continuous conversion triggered with a period of -- cgit v1.2.3