Skip to content

Commit bfe5575

Browse files
authored
Merge pull request #24 from dron0gus/can-index
GDI4: base CAN ID offset for second unit
2 parents eb28edc + db329cb commit bfe5575

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

can/can_common.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// we use ExtID but only 16 bits in comms protocol from ECU to GDI4
44
#define GDI4_BASE_ADDRESS 0xBB20
55

6+
// 0x10 IDs are used for input
7+
// 0x10 IDs are used for output
8+
#define GDI4_BASE_ADDRESS_OFFSET 0x20
9+
610
#define GDI4_MAGIC 0x67
711

812
#define BENCH_TEST_BASE_ADDRESS 0x770000

0 commit comments

Comments
 (0)