diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-26 16:54:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-26 16:54:53 +0000 |
commit | 7e229d14b101765bf25eea8e5661ed2e47900065 (patch) | |
tree | d522a3f2d8f8511297c7c6dc53c43ef5a31d35cb /nuttx/arch/z16/src/z16f | |
parent | b8979dc0167d1f8923f7ced50619a2479aa3b64f (diff) | |
download | px4-nuttx-7e229d14b101765bf25eea8e5661ed2e47900065.tar.gz px4-nuttx-7e229d14b101765bf25eea8e5661ed2e47900065.tar.bz2 px4-nuttx-7e229d14b101765bf25eea8e5661ed2e47900065.zip |
Basic NuttX port functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16/src/z16f')
-rwxr-xr-x | nuttx/arch/z16/src/z16f/z16f_lowuart.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |