Browse Source

runtime/stm32wlx: change order for init so clock speeds are set before peripheral start

Signed-off-by: deadprogram <ron@hybridgroup.com>
pull/3413/head
deadprogram 2 years ago
committed by Ron Evans
parent
commit
dd9c2273e4
  1. 5
      src/runtime/runtime_stm32wlx.go

5
src/runtime/runtime_stm32wlx.go

@ -21,12 +21,11 @@ func init() {
// Configure 48Mhz clock
initCLK()
// UART init
machine.InitSerial()
// Timers init
initTickTimer(&machine.TIM1)
// UART init
machine.InitSerial()
}
func initCLK() {

Loading…
Cancel
Save