OSDN Git Service
(root)
/
toppersasp4lpc
/
asp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636fccb
)
オリジナルポートの意図では、TNUM_PORTは常にデバイスが取りうるポート数の最大値である。
author
shintamainjp
<shintamainjp@users.sourceforge.jp>
Sat, 5 Nov 2011 12:36:12 +0000
(12:36 +0000)
committer
shintamainjp
<shintamainjp@users.sourceforge.jp>
Sat, 5 Nov 2011 12:36:12 +0000
(12:36 +0000)
asp/pdic/uart/uart.c
patch
|
blob
|
history
diff --git
a/asp/pdic/uart/uart.c
b/asp/pdic/uart/uart.c
index
8b7196e
..
35990e0
100644
(file)
--- a/
asp/pdic/uart/uart.c
+++ b/
asp/pdic/uart/uart.c
@@
-154,7
+154,7
@@
SIOPCB siopcb_table[TNUM_PORT];
*/
#ifdef TOPPERS_CHIP_LPC17XX
-static const uint32_t sioreg_table[
4
] = {
+static const uint32_t sioreg_table[
TNUM_PORT
] = {
LPC_UART0_BASE,
LPC_UART1_BASE,
LPC_UART2_BASE,