mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
serial: use common initialization for serial
This commit is contained in:
@@ -28,7 +28,7 @@ func main() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
machine.Serial.Configure(machine.UARTConfig{})
|
||||
machine.InitSerial()
|
||||
initLFCLK()
|
||||
initRTC()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user