diff options
author | soypat <[email protected]> | 2024-12-21 12:16:37 -0300 |
---|---|---|
committer | soypat <[email protected]> | 2024-12-21 12:16:37 -0300 |
commit | 7d4baf213a070765451a1928793524e01a3360b5 (patch) | |
tree | b72eed7d0355c4a91e4c361911fdcf0518474a16 /src/machine/machine_rp2040_rtc.go | |
parent | 52983794d702af7a00833ae12b0d2e7175e46017 (diff) | |
download | tinygo-rp2350-cleanup.tar.gz tinygo-rp2350-cleanup.zip |
rp2350 cleanup: unexport internal USB and clock package variable, consts and typesrp2350-cleanup
Diffstat (limited to 'src/machine/machine_rp2040_rtc.go')
-rw-r--r-- | src/machine/machine_rp2040_rtc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine_rp2040_rtc.go b/src/machine/machine_rp2040_rtc.go index 072432fc0..192e187c0 100644 --- a/src/machine/machine_rp2040_rtc.go +++ b/src/machine/machine_rp2040_rtc.go @@ -97,7 +97,7 @@ func toAlarmTime(delay uint32) rtcTime { func (rtc *rtcType) setDivider() { // Get clk_rtc freq and make sure it is running - rtcFreq := configuredFreq[ClkRTC] + rtcFreq := configuredFreq[clkRTC] if rtcFreq == 0 { panic("can not set RTC divider, clock is not running") } |