blackbox/main.c

changeset 34
d12d095e3282
parent 33
c261350bb394
child 35
00166228a419
--- a/blackbox/main.c	Sat Dec 03 11:55:01 2011 +0100
+++ b/blackbox/main.c	Sat Dec 03 12:10:10 2011 +0100
@@ -125,7 +125,7 @@
         case 4: tmp = (1<<5); break; // todo regler 5
         case 5: tmp = (1<<5); break; // todo regler 6
     }
-    tmp |=  0b1000000000 | (controller << 6);
+    tmp |=  (0b1000000000 | (controller << 6));
     if ( (PIN(SW_FUEL_PORT) & _BV(SW_FUEL)) != 0) tmp |= 1; // benzinstand aktiv - tankmodusschalter
 
     return insert_queue(tmp, 9);

mercurial