mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
Basic NuttX port functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@570 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e82f1a4296
commit
9636992d26
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue