mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
serial: use common initialization for serial
This commit is contained in:
@@ -156,7 +156,7 @@ func initCLK() {
|
||||
|
||||
func initCOM() {
|
||||
if machine.NUM_UART_INTERFACES > 0 {
|
||||
machine.Serial.Configure(machine.UARTConfig{})
|
||||
machine.InitSerial()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user