mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 16:03:41 +00:00
serial: use common initialization for serial
This commit is contained in:
@@ -38,7 +38,7 @@ type arrtype = uint32
|
||||
func init() {
|
||||
initCLK()
|
||||
|
||||
machine.Serial.Configure(machine.UARTConfig{})
|
||||
machine.InitSerial()
|
||||
|
||||
initTickTimer(&machine.TIM15)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user