blackbox/interrupts.c

changeset 56
a20f59a3016c
parent 53
f659e6faf18f
child 69
27c0c0095e26
--- a/blackbox/interrupts.c	Fri Dec 09 12:21:22 2011 +0100
+++ b/blackbox/interrupts.c	Fri Dec 09 12:28:47 2011 +0100
@@ -99,6 +99,8 @@
         if ( (tmp > 118) && (tmp < 138) ) car0 = 2;
         if ( (tmp > 186) && (tmp < 206) ) car0 = 3;
         if ( (tmp > 246) && (tmp < 266) ) car0 = 4;
+        if ( (tmp > 310) && (tmp < 330) ) car0 = 5;
+        if ( (tmp > 374) && (tmp < 394) ) car0 = 6;
     }
     car0_old = car0_new;
 }
@@ -114,6 +116,8 @@
         if ( (tmp > 118) && (tmp < 138) ) car1 = 2;
         if ( (tmp > 186) && (tmp < 206) ) car1 = 3;
         if ( (tmp > 246) && (tmp < 266) ) car1 = 4;
+        if ( (tmp > 310) && (tmp < 330) ) car1 = 5;
+        if ( (tmp > 374) && (tmp < 394) ) car1 = 6;
     }
     car1_old = car1_new;
 }

mercurial