Whoops
This commit is contained in:
parent
47731c68d2
commit
ec42c4300e
|
@ -1121,7 +1121,7 @@ int riscv_openocd_halt(struct target *target)
|
|||
|
||||
register_cache_invalidate(target->reg_cache);
|
||||
if (riscv_rtos_enabled(target)) {
|
||||
if (r->rtos_hartid == -1) {
|
||||
if (r->rtos_hartid != -1) {
|
||||
LOG_DEBUG("halt requested on RTOS hartid %d", r->rtos_hartid);
|
||||
target->rtos->current_threadid = r->rtos_hartid + 1;
|
||||
target->rtos->current_thread = r->rtos_hartid + 1;
|
||||
|
|
Loading…
Reference in New Issue