Skip to content

Commit fd81f7f

Browse files
committed
Fix comment.
1 parent 851849a commit fd81f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/riscv/riscv-013.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ static void riscv013_step_or_resume_current_hart(struct target *target, bool ste
18951895
if (riscv_program_exec(&program, target) != ERROR_OK)
18961896
abort();
18971897

1898-
/* Issue the halt command, and then wait for the current hart to halt. */
1898+
/* Issue the resume command, and then wait for the current hart to resume. */
18991899
uint32_t dmcontrol = dmi_read(target, DMI_DMCONTROL);
19001900
dmcontrol = set_field(dmcontrol, DMI_DMCONTROL_RESUMEREQ, 1);
19011901
dmi_write(target, DMI_DMCONTROL, dmcontrol);

0 commit comments

Comments
 (0)