From b8c517e46d35e5c9691545eda8fe9b6c40d6943a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 2 Nov 2015 10:07:40 +0000 Subject: Lines support in PAL driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8417 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F7xx/GPT-ADC/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testhal/STM32/STM32F7xx/GPT-ADC') diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/main.c b/testhal/STM32/STM32F7xx/GPT-ADC/main.c index e3790371a..06fc68a26 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/main.c +++ b/testhal/STM32/STM32F7xx/GPT-ADC/main.c @@ -120,11 +120,11 @@ static THD_FUNCTION(Thread1, arg) { (void)arg; chRegSetThreadName("blinker"); - palSetPadMode(GPIOI, GPIOI_ARD_D13, PAL_MODE_OUTPUT_PUSHPULL); + palSetLineMode(LINE_ARD_D13, PAL_MODE_OUTPUT_PUSHPULL); while (true) { - palSetPad(GPIOI, GPIOI_ARD_D13); + palSetLine(LINE_ARD_D13); chThdSleepMilliseconds(500); - palClearPad(GPIOI, GPIOI_ARD_D13); + palClearLine(LINE_ARD_D13); chThdSleepMilliseconds(500); } } -- cgit v1.2.3