aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/readconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/ldlinux/readconfig.c')
-rw-r--r--com32/elflink/ldlinux/readconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index 7701acfe..35b137ea 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -1278,7 +1278,9 @@ do_include:
baud = BAUD_DIVISOR / baud;
baud &= 0xffff;
BaudDivisor = baud;
- SerialPort = get_serial_port(port);
+
+ port = get_serial_port(port);
+ SerialPort = port;
/*
* Begin code to actually set up the serial port