From db329cb02b4772d76c51932b9510edd0c3d4bff2 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Tue, 17 Dec 2024 23:41:40 +0300 Subject: [PATCH] GDI4: base CAN ID offset for second unit --- can/can_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/can/can_common.h b/can/can_common.h index 37f1236..65abc9f 100644 --- a/can/can_common.h +++ b/can/can_common.h @@ -3,6 +3,10 @@ // we use ExtID but only 16 bits in comms protocol from ECU to GDI4 #define GDI4_BASE_ADDRESS 0xBB20 +// 0x10 IDs are used for input +// 0x10 IDs are used for output +#define GDI4_BASE_ADDRESS_OFFSET 0x20 + #define GDI4_MAGIC 0x67 #define BENCH_TEST_BASE_ADDRESS 0x770000