From eb3eac8fea79a78fc595c9bc13da99fedfa1bc20 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 30 Dec 2018 19:47:31 +0000 Subject: Demo complete, to be tested. White space fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12499 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- testhal/STM32/multi/ADC/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testhal/STM32/multi/ADC/main.c') diff --git a/testhal/STM32/multi/ADC/main.c b/testhal/STM32/multi/ADC/main.c index 8e26c3819..1167fa230 100644 --- a/testhal/STM32/multi/ADC/main.c +++ b/testhal/STM32/multi/ADC/main.c @@ -57,7 +57,7 @@ void adccallback(ADCDriver *adcp) { } if ((n % 200) == 0U) { - palToggleLine(LINE_LED2); + palToggleLine(PORTAB_LINE_LED2); } } @@ -86,9 +86,9 @@ static THD_FUNCTION(Thread1, arg) { (void)arg; chRegSetThreadName("blinker"); while (true) { - palSetLine(LINE_LED1); + palSetLine(PORTAB_LINE_LED1); chThdSleepMilliseconds(500); - palClearLine(LINE_LED1); + palClearLine(PORTAB_LINE_LED1); chThdSleepMilliseconds(500); } } -- cgit v1.2.3