]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
put the AVR break instruction back into the failure handler
authorregehr <regehr>
Tue, 9 Dec 2008 03:55:12 +0000 (03:55 +0000)
committerregehr <regehr>
Tue, 9 Dec 2008 03:55:12 +0000 (03:55 +0000)
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);
       }