diff options
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68360/console/console.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/console/console.c b/c/src/lib/libbsp/m68k/gen68360/console/console.c index 8b1c6dc517..f4703086d2 100644 --- a/c/src/lib/libbsp/m68k/gen68360/console/console.c +++ b/c/src/lib/libbsp/m68k/gen68360/console/console.c @@ -36,6 +36,11 @@ int m360_clock_rate = 25000000; /* * Interrupt-driven input buffer + * Declare console baud rate -- may also be overwritten + */ +int console_baud_rate = 9600; + +/* */ #define RXBUFSIZE 16 @@ -157,7 +162,7 @@ smc1Initialize (int major, int minor, void *arg) * Set up BRG1 (9,600 baud) */ m360.brgc1 = M360_BRG_RST; - m360.brgc1 = smc1BRGC (9600); + m360.brgc1 = smc1BRGC (console_baud_rate); /* * Put SMC1 in NMSI mode, connect SMC1 to BRG1 |