summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src/z16f/z16f_lowuart.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z16/src/z16f/z16f_lowuart.S')
-rwxr-xr-xnuttx/arch/z16/src/z16f/z16f_lowuart.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/z16f/z16f_lowuart.S b/nuttx/arch/z16/src/z16f/z16f_lowuart.S
index 20c4fc35a..628dad431 100755
--- a/nuttx/arch/z16/src/z16f/z16f_lowuart.S
+++ b/nuttx/arch/z16/src/z16f/z16f_lowuart.S
@@ -39,7 +39,7 @@
*************************************************************************/
#include <nuttx/config.h>
-#include <chip/chip.h>
+#include "chip/chip.h"
#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_ARCH_LOWGETC)
@@ -104,7 +104,7 @@ z16f_lowuartinit:
ld r0, #%30
or.b Z16F_GPIOA_AFL, r0 /* Z16F_GPIOA_AFL |= %30 */
clr.b Z16F_UART0_CTL1 /* Z16F_UART0_CTL1 = 0 */
- ld 0, #%c0
+ ld r0, #%c0
ld.b Z16F_UART0_CTL0, r0 /* Z16F_UART0_CTL0 = %c0 */
#else
ld.w Z16F_UART1_BR, r0 /* Z16F_UART1_BR = BRG */