diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
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);
|