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 |