aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_rp2040_clocks.go
diff options
context:
space:
mode:
authorKenneth Bell <[email protected]>2023-08-06 22:15:47 +0100
committerRon Evans <[email protected]>2023-08-15 11:50:07 +0200
commitf4375d045213c416fad2d19773e7700b6b02f685 (patch)
treebd24ba00ec42f0b8e767bf66d852493a3f393a39 /src/machine/machine_rp2040_clocks.go
parent756cdf44ed5a83a0fd37a63bdf596328c279f4f7 (diff)
downloadtinygo-f4375d045213c416fad2d19773e7700b6b02f685.tar.gz
tinygo-f4375d045213c416fad2d19773e7700b6b02f685.zip
samd51,rp2040,nrf528xx,stm32: implement watchdog
Diffstat (limited to 'src/machine/machine_rp2040_clocks.go')
-rw-r--r--src/machine/machine_rp2040_clocks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine_rp2040_clocks.go b/src/machine/machine_rp2040_clocks.go
index 093731049..57dfa68b0 100644
--- a/src/machine/machine_rp2040_clocks.go
+++ b/src/machine/machine_rp2040_clocks.go
@@ -182,7 +182,7 @@ func (clk *clock) configure(src, auxsrc, srcFreq, freq uint32) {
// Must be called before any other clock function.
func (clks *clocksType) init() {
// Start the watchdog tick
- watchdog.startTick(xoscFreq)
+ Watchdog.startTick(xoscFreq)
// Disable resus that may be enabled from previous software
clks.resus.ctrl.Set(0)