]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/DynamicThreadP.nc
Rewiring to fix bug that all DynamicThread code gets pulled in even if you ONLY use...
[tinyos-2.x.git] / tos / lib / tosthreads / system / DynamicThreadP.nc
index cb4cd804a62745c524e9563aae2ddaa724df2ba1..b6a1080e77bab1bd5b80fa24eee15d0cfb7d020f 100644 (file)
@@ -143,6 +143,7 @@ happy:
   }
   
   async event void ThreadCleanup.cleanup[uint8_t id]() {
+    call Leds.led2Toggle();
     signal ThreadNotification.aboutToDestroy[id]();
     atomic {
       uint8_t adjusted_id = id-TOSTHREAD_NUM_STATIC_THREADS;