Rename dummy variable to be correct.

Change-Id: I329404894227bb3cf563382e1adf0edda702543b
rbb_cleanup
Tim Newsome 2018-01-05 13:05:33 -08:00
parent a6b503217d
commit 37434ffd77
1 changed files with 2 additions and 2 deletions

View File

@ -565,8 +565,8 @@ static int execute_abstract_command(struct target *target, uint32_t command)
dmi_write(target, DMI_COMMAND, command); dmi_write(target, DMI_COMMAND, command);
{ {
uint32_t dmstatus = 0; uint32_t abstractcs = 0;
wait_for_idle(target, &dmstatus); wait_for_idle(target, &abstractcs);
} }
uint32_t cs = dmi_read(target, DMI_ABSTRACTCS); uint32_t cs = dmi_read(target, DMI_ABSTRACTCS);