diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-06 21:03:05 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-06 21:03:05 +0000 |
commit | 0ed5d7e2e02604710863224857e4a74e6004cd3e (patch) | |
tree | 10ba15c15dd0cefb29ed824cdbf6600f903a3beb /demos/ARM7-AT91SAM7X-GCC/board.c | |
parent | 77df449498effbd6083e82920bb2705fdee16343 (diff) | |
download | ChibiOS-0ed5d7e2e02604710863224857e4a74e6004cd3e.tar.gz ChibiOS-0ed5d7e2e02604710863224857e4a74e6004cd3e.tar.bz2 ChibiOS-0ed5d7e2e02604710863224857e4a74e6004cd3e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@729 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC/board.c')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index d0793ef4d..18f548c92 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -155,7 +155,7 @@ void hwinit1(void) { /*
* Serial driver initialization, RTS/CTS pins enabled for USART0 only.
*/
- InitSerial(AT91C_AIC_PRIOR_HIGHEST - 2, AT91C_AIC_PRIOR_HIGHEST - 2);
+ sam7x_serial_init(AT91C_AIC_PRIOR_HIGHEST - 2, AT91C_AIC_PRIOR_HIGHEST - 2);
AT91C_BASE_PIOA->PIO_PDR = AT91C_PA3_RTS0 | AT91C_PA4_CTS0;
AT91C_BASE_PIOA->PIO_ASR = AT91C_PIO_PA3 | AT91C_PIO_PA4;
AT91C_BASE_PIOA->PIO_PPUDR = AT91C_PIO_PA3 | AT91C_PIO_PA4;
|