summaryrefslogtreecommitdiffstats
path: root/cpu/lh7a40x/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/lh7a40x/serial.c')
-rw-r--r--cpu/lh7a40x/serial.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/cpu/lh7a40x/serial.c b/cpu/lh7a40x/serial.c
index 2132c052a4..d727ccaa4f 100644
--- a/cpu/lh7a40x/serial.c
+++ b/cpu/lh7a40x/serial.c
@@ -124,19 +124,6 @@ int hwflow_onoff(int on)
}
#endif
-#ifdef CONFIG_MODEM_SUPPORT
-static int be_quiet = 0;
-void disable_putc(void)
-{
- be_quiet = 1;
-}
-
-void enable_putc(void)
-{
- be_quiet = 0;
-}
-#endif
-
/*
* Output a single byte to the serial port.
@@ -145,11 +132,6 @@ void serial_putc (const char c)
{
lh7a40x_uart_t* uart = LH7A40X_UART_PTR(UART_CONSOLE);
-#ifdef CONFIG_MODEM_SUPPORT
- if (be_quiet)
- return;
-#endif
-
/* wait for room in the tx FIFO */
while (!(uart->status & UART_TXFE));