Skip to content

Commit d1237fa

Browse files
committed
chore: add comment
1 parent a470828 commit d1237fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/machine/machine_rp2_timer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ func (tmr *timerType) setDbgPause(enable bool) {
108108
const bitMask = 0b11
109109
val := uint32(0b00)
110110
if enable {
111+
// Disable timer when debugger is connected to either core.:w
111112
val = 0b11
112113
}
113114
tmr.dbgPause.ReplaceBits(val, bitMask, bitPosCore0)

0 commit comments

Comments
 (0)