mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
serial: use common initialization for serial
This commit is contained in:
@@ -29,7 +29,7 @@ const (
|
||||
func init() {
|
||||
initCLK()
|
||||
|
||||
machine.Serial.Configure(machine.UARTConfig{})
|
||||
machine.InitSerial()
|
||||
|
||||
initTickTimer(&machine.TIM3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user