Skip to content

Commit eadb36a

Browse files
committed
Add some documentation to reset pulse
1 parent 4f8ab3a commit eadb36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drv/lpc55-swd/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,7 @@ impl ServerImpl {
18671867
// Reset the SP into normal operation
18681868
self.disable_halting_debug();
18691869
self.sp_reset_enter();
1870-
hl::sleep_for(1);
1870+
hl::sleep_for(1); // plenty of time, the internal pulse is 20µs
18711871
self.sp_reset_leave();
18721872
}
18731873
success

0 commit comments

Comments
 (0)