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