diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-17 17:53:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-17 17:53:57 +0000 |
commit | 278fc39f993660a8d7ebf4df4a89f6beb10c7f7b (patch) | |
tree | 6884853985e1a3c90e95c6361fe1704b118071df /demos/ARMCM3-STM32L152-DISCOVERY | |
parent | baabff16e61179d497fe986d63e325e83272d4ed (diff) | |
download | ChibiOS-278fc39f993660a8d7ebf4df4a89f6beb10c7f7b.tar.gz ChibiOS-278fc39f993660a8d7ebf4df4a89f6beb10c7f7b.tar.bz2 ChibiOS-278fc39f993660a8d7ebf4df4a89f6beb10c7f7b.zip |
UART driver tested with STM32L.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3330 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32L152-DISCOVERY')
-rw-r--r-- | demos/ARMCM3-STM32L152-DISCOVERY/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARMCM3-STM32L152-DISCOVERY/main.c b/demos/ARMCM3-STM32L152-DISCOVERY/main.c index a21d12dae..c5b0dd974 100644 --- a/demos/ARMCM3-STM32L152-DISCOVERY/main.c +++ b/demos/ARMCM3-STM32L152-DISCOVERY/main.c @@ -63,8 +63,8 @@ int main(void) { * PA9 and PA10 are routed to USART1.
*/
sdStart(&SD1, NULL);
- palSetPadMode(GPIOA, 9, PAL_MODE_ALT_OUTPUT_PUSHPULL(7));
- palSetPadMode(GPIOA, 10, PAL_MODE_ALT_INPUT(7));
+ palSetPadMode(GPIOA, 9, PAL_MODE_ALTERNATE(7));
+ palSetPadMode(GPIOA, 10, PAL_MODE_ALTERNATE(7));
/*
* If the user button is pressed after the reset then the test suite is
|