diff options
-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 */ |