From 2c26e3702413f62649f1aa38a407927df5f6fe30 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 27 Jan 2024 19:33:18 +0100 Subject: msp430fr5969 stdin: increase buffer size; move initialization to stdin --- src/arch/msp430fr5969lp/driver/stdin.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/arch/msp430fr5969lp/driver/stdin.cc') diff --git a/src/arch/msp430fr5969lp/driver/stdin.cc b/src/arch/msp430fr5969lp/driver/stdin.cc index 0850dab..92b7157 100644 --- a/src/arch/msp430fr5969lp/driver/stdin.cc +++ b/src/arch/msp430fr5969lp/driver/stdin.cc @@ -8,6 +8,10 @@ void StandardInput::setup() { + UCA0CTLW0 |= UCSWRST; + P2SEL0 &= ~BIT1; + P2SEL1 |= BIT1; + UCA0CTLW0 &= ~UCSWRST; UCA0IE |= UCRXIE; } -- cgit v1.2.3