mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 16:03:41 +00:00
rp2350 cleanup: unexport internal USB and clock package variable, consts and types
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user