mirror of https://github.com/rusefi/rusefi.git
moving GDI4 to higher addresses
This commit is contained in:
parent
c5ca3d8d4c
commit
811e292030
|
@ -1,6 +1,7 @@
|
|||
-- communication with https://github.com/rusefi/rusefi-hardware/tree/main/GDI-4ch/firmware
|
||||
|
||||
GDI4_BASE_ADDRESS = 0xF0
|
||||
-- see can_common.h
|
||||
GDI4_BASE_ADDRESS = 0xBB20
|
||||
GDI_CHANGE_ADDRESS = GDI4_BASE_ADDRESS + 0x10
|
||||
|
||||
hexstr = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, "A", "B", "C", "D", "E", "F" }
|
||||
|
@ -141,6 +142,7 @@ function onTick()
|
|||
|
||||
setTwoBytesLsb(data_set_settings, 1, TholdOff)
|
||||
setTwoBytesLsb(data_set_settings, 3, THoldDuration)
|
||||
-- set mc33_hpfp_i_peak 6
|
||||
setTwoBytesLsb(data_set_settings, 5, pumpPeakCurrent * FIXED_POINT)
|
||||
print('Will be sending ' ..arrayToString(data_set_settings))
|
||||
txCan(1, GDI_CHANGE_ADDRESS + 3, 1, data_set_settings)
|
||||
|
|
Loading…
Reference in New Issue