summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/nuc1xx/nuc_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/nuc1xx/nuc_serial.c')
-rw-r--r--nuttx/arch/arm/src/nuc1xx/nuc_serial.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/nuc1xx/nuc_serial.c b/nuttx/arch/arm/src/nuc1xx/nuc_serial.c
index b0b6aa67f..060d274ef 100644
--- a/nuttx/arch/arm/src/nuc1xx/nuc_serial.c
+++ b/nuttx/arch/arm/src/nuc1xx/nuc_serial.c
@@ -65,6 +65,7 @@
#include "chip.h"
#include "chip/nuc_uart.h"
+#include "nuc_lowputc.h"
#include "nuc_serial.h"
/****************************************************************************
@@ -935,10 +936,10 @@ int up_putc(int ch)
{
/* Add CR */
- up_lowputc('\r');
+ nuc_lowputc((uint32_t)'\r');
}
- up_lowputc(ch);
+ nuc_lowputc((uint32_t)ch);
#ifdef HAVE_CONSOLE
up_restoreuartint(priv, ier);
#endif
@@ -965,10 +966,10 @@ int up_putc(int ch)
{
/* Add CR */
- up_lowputc('\r');
+ nuc_lowputc((uint32_t)'\r');
}
- up_lowputc(ch);
+ nuc_lowputc((uint32_t)ch);
#endif
return ch;
}