From 7e229d14b101765bf25eea8e5661ed2e47900065 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 26 Jan 2008 16:54:53 +0000 Subject: Basic NuttX port functional git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@570 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/z16/src/z16f/z16f_lowuart.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/arch/z16') diff --git a/nuttx/arch/z16/src/z16f/z16f_lowuart.S b/nuttx/arch/z16/src/z16f/z16f_lowuart.S index 5e45e8c53..a20dbfc63 100755 --- a/nuttx/arch/z16/src/z16f/z16f_lowuart.S +++ b/nuttx/arch/z16/src/z16f/z16f_lowuart.S @@ -95,7 +95,7 @@ _z16f_lowuartinit: sll r3, #4 /* r3 = baud * 16 */ udiv r0, r3 /* BRG = (freq + baud * 8)/(baud * 16) */ -#ifdef CONFIG_UART0_SERIAL_CONSOLE +#ifdef CONFIG_UART1_SERIAL_CONSOLE ld.w Z16F_UART1_BR, r0 /* Z16F_UART1_BR = BRG */ /* Set the GPIO Alternate Function Register Lo (AFL) register */ -- cgit v1.2.3