aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chdynamic.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-07 13:43:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-07 13:43:27 +0000
commitd3f5e53d03b3288568f1d591ee16f662a630f127 (patch)
treefd3020083c6d672735c2305e439c4d94adf13fc5 /os/rt/src/chdynamic.c
parente09208306bbc7c1c1ff533a95f6e126f8e56c030 (diff)
downloadChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.tar.gz
ChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.tar.bz2
ChibiOS-d3f5e53d03b3288568f1d591ee16f662a630f127.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7730 35acf78f-673a-0410-8e92-d51de3d6d3f4
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;
}
}