summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pc80/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pc80/serial.c b/src/pc80/serial.c
index 5136497407..415736438b 100644
--- a/src/pc80/serial.c
+++ b/src/pc80/serial.c
@@ -13,7 +13,9 @@
#error Bad ttys0 baud rate
#endif
+#ifndef CONFIG_TTYS0_DIV
#define CONFIG_TTYS0_DIV (115200/CONFIG_TTYS0_BAUD)
+#endif
/* Line Control Settings */
#ifndef CONFIG_TTYS0_LCS