blackbox/main.c

changeset 105
1defce561e64
parent 104
95b2c23cb973
child 114
313aad7435a8
equal deleted inserted replaced
104:95b2c23cb973 105:1defce561e64
30 } u32; 30 } u32;
31 31
32 #define FUEL_FULL 10000 32 #define FUEL_FULL 10000
33 #define FUEL_JUMPSTART 5000 33 #define FUEL_JUMPSTART 5000
34 #define FUEL_DIV_DEFAULT 25 34 #define FUEL_DIV_DEFAULT 25
35 #define PITLANE_SPEEDLIMIT 6 35 #define PITLANE_SPEEDLIMIT 15
36 volatile uint8_t fuel_divisor = FUEL_DIV_DEFAULT; // default, can be set via serial command 36 volatile uint8_t fuel_divisor = FUEL_DIV_DEFAULT; // default, can be set via serial command
37 37
38 typedef struct { 38 typedef struct {
39 unsigned speedlimit:4; // 4bits speedlimit 39 unsigned speedlimit:4; // 4bits speedlimit
40 unsigned speedminimum:4; // 4bits speedminimum 40 unsigned speedminimum:4; // 4bits speedminimum

mercurial