From 1c8b3555ba022ff63be257b69111f2137f08f449 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 8 Mar 2016 09:30:01 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9054 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'demos') diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c index 31026f70c..9f94a613e 100644 --- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c @@ -50,11 +50,8 @@ int main(void) { /* OS initialization.*/ (void) OS_API_Init(); - /* Activates the serial driver 2 using the driver default configuration. - PA2(TX) and PA3(RX) are routed to USART2.*/ + /* Activates the serial driver 1 using the driver default configuration.*/ sdStart(&SD1, NULL); - palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7)); - palSetPadMode(GPIOA, 3, PAL_MODE_ALTERNATE(7)); /* GPIOI1 is programmed as output (board LED).*/ palClearLine(LINE_ARD_D13); -- cgit v1.2.3