blackbox/main.c

changeset 64
61f88f973eba
parent 62
66dd5763dfb3
child 69
27c0c0095e26
equal deleted inserted replaced
63:ea1e8dcbec44 64:61f88f973eba
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

mercurial