]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/safe/SafeFailureHandlerP.nc
put the AVR break instruction back into the failure handler
[tinyos-2.x.git] / tos / lib / safe / SafeFailureHandlerP.nc
index 74d6892e5df19260729ceec2b21d29de72d74df1..c8fb772e0629dedb9a65ecebdbbfdc72406eec9f 100644 (file)
@@ -120,6 +120,9 @@ implementation {
   void deputy_fail_noreturn_fast (int flid) @C() @spontaneous()
   {
     atomic {
+#if defined(__AVR_ARCH__)
+      asm volatile ("break");
+#endif
       while(1) {
         display_int_flid(flid);
       }