diff options
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/STM32L4xx/GPT-ADC/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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
|