From ff7c71c99c68bcfd394b4c3d28ff872aa865420c Mon Sep 17 00:00:00 2001 From: sago35 Date: Tue, 5 Jul 2022 21:53:44 +0900 Subject: serial: use common initialization for serial --- src/runtime/runtime_fe310.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/runtime_fe310.go') diff --git a/src/runtime/runtime_fe310.go b/src/runtime/runtime_fe310.go index 15dfe0935..8bb696baa 100644 --- a/src/runtime/runtime_fe310.go +++ b/src/runtime/runtime_fe310.go @@ -92,7 +92,7 @@ func initPeripherals() { sifive.RTC.RTCCFG.Set(sifive.RTC_RTCCFG_ENALWAYS) // Configure the UART. - machine.Serial.Configure(machine.UARTConfig{}) + machine.InitSerial() } func putchar(c byte) { -- cgit v1.2.3