diff options
author | sago35 <[email protected]> | 2022-07-05 21:53:44 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-07-05 20:53:37 +0200 |
commit | ff7c71c99c68bcfd394b4c3d28ff872aa865420c (patch) | |
tree | e8168dad5837649c794616272618ecacd4c0ce39 /src/runtime/runtime_fe310.go | |
parent | 7eaad625681be7e33cad985c313354fc1377cb73 (diff) | |
download | tinygo-ff7c71c99c68bcfd394b4c3d28ff872aa865420c.tar.gz tinygo-ff7c71c99c68bcfd394b4c3d28ff872aa865420c.zip |
serial: use common initialization for serial
Diffstat (limited to 'src/runtime/runtime_fe310.go')
-rw-r--r-- | src/runtime/runtime_fe310.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |