23 uint32_t value; |
23 uint32_t value; |
24 uint16_t word[2]; // high, low word |
24 uint16_t word[2]; // high, low word |
25 uint8_t byte[4]; // all four bytes |
25 uint8_t byte[4]; // all four bytes |
26 } u32; |
26 } u32; |
27 |
27 |
28 #define MAX_SLOTS 6 |
|
29 #define FUEL_FULL 10000 |
28 #define FUEL_FULL 10000 |
30 #define FUEL_DIVISOR 25 |
29 #define FUEL_DIVISOR 25 |
31 //#define FUEL_DIVISOR 10 |
30 //#define FUEL_DIVISOR 10 |
32 typedef struct { |
31 typedef struct { |
33 unsigned speedlimit:4; // 4bits speedlimit |
32 unsigned speedlimit:4; // 4bits speedlimit |