aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chdynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chdynamic.c')
-rw-r--r--os/rt/src/chdynamic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/rt/src/chdynamic.c b/os/rt/src/chdynamic.c
index 61044146e..05cb3a265 100644
--- a/os/rt/src/chdynamic.c
+++ b/os/rt/src/chdynamic.c
@@ -119,7 +119,8 @@ void chThdRelease(thread_t *tp) {
break;
#endif
default:
- chDbgAssert(false, "unexpected case");
+ /* Nothing to do for static threads, those are removed from the
+ registry on exit.*/
break;
}
}