aboutsummaryrefslogtreecommitdiff
path: root/src/rtos
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtos')
-rw-r--r--src/rtos/rtos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c
index 497ea8b4..1fee5b08 100644
--- a/src/rtos/rtos.c
+++ b/src/rtos/rtos.c
@@ -349,8 +349,8 @@ int rtos_thread_packet(struct connection *connection, char const *packet, int pa
if (target->rtos_auto_detect == true) {
target->rtos_auto_detect = false;
target->rtos->type->create(target);
- target->rtos->type->update_threads(target->rtos);
}
+ target->rtos->type->update_threads(target->rtos);
}
return ERROR_OK;
} else if (strncmp(packet, "qfThreadInfo", 12) == 0) {