Skip to content

Commit a470828

Browse files
committed
chore: cleanup
1 parent 26c264b commit a470828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/machine/machine_rp2_timer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ func (tmr *timerType) lightSleep(us uint64) {
104104

105105
// setDbgPause sets whether this timer is paused when a debugger is connected.
106106
func (tmr *timerType) setDbgPause(enable bool) {
107-
const bitPosCore0 = 1
107+
const bitPos = 1
108108
const bitMask = 0b11
109-
var val uint32
109+
val := uint32(0b00)
110110
if enable {
111111
val = 0b11
112112
}

0 commit comments

Comments
 (0)