default to no fuel management in firmware

Sat, 21 Dec 2013 13:08:43 +0100

author
Malte Bayer <mbayer@neo-soft.org>
date
Sat, 21 Dec 2013 13:08:43 +0100
changeset 142
a933d44a6edc
parent 141
467e6351986e
child 143
cb514887cf17

default to no fuel management in firmware

blackbox/main.c file | annotate | diff | comparison | revisions
--- a/blackbox/main.c	Wed Jun 26 11:37:23 2013 +0200
+++ b/blackbox/main.c	Sat Dec 21 13:08:43 2013 +0100
@@ -95,7 +95,7 @@
 volatile uint8_t program_parameter;
 
 volatile uint8_t datalen = 0;
-char data[10]; // 8 bytes data buffer + string termination
+//unused: char data[10]; // 8 bytes data buffer + string termination
 
 static char buffer[RS232_BUFSIZE+1];
 static uint8_t buffer_len;
@@ -658,7 +658,7 @@
 {
     uint8_t  packet_index = 1;
 
-    switches.fuel_enabled = 1;
+    switches.fuel_enabled = 0;
     switches.pitlane_finishline = 0;
     switches.liveinfo = 0;
 

mercurial