mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
serial: use common initialization for serial
This commit is contained in:
@@ -43,7 +43,7 @@ func main() {
|
||||
clearbss()
|
||||
|
||||
// Initialize UART.
|
||||
machine.Serial.Configure(machine.UARTConfig{})
|
||||
machine.InitSerial()
|
||||
|
||||
// Initialize main system timer used for time.Now.
|
||||
initTimer()
|
||||
|
||||
Reference in New Issue
Block a user