From 3147d6ab75cd7bba7891ae0f1fe2c27938b2a28d Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Thu, 15 Sep 2022 14:55:06 -0400 Subject: [PATCH] ini: dual: export CanIndexOffset to TS (#153) Co-authored-by: Andrey Gusakov --- firmware/ini/rusefi_wb_f1_dual.ini | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/firmware/ini/rusefi_wb_f1_dual.ini b/firmware/ini/rusefi_wb_f1_dual.ini index 92d85d7..1f4a3f0 100644 --- a/firmware/ini/rusefi_wb_f1_dual.ini +++ b/firmware/ini/rusefi_wb_f1_dual.ini @@ -49,7 +49,7 @@ enable2ndByteCanID = false retrieveConfigError = "e" ; communication settings - pageActivationDelay = 500 ; Milliseconds delay after burn command. See https://sourceforge.net/p/rusefi/tickets/77/ + pageActivationDelay = 500 ; e.g. put writeblocks off and add an interwrite delay writeBlocks = on interWriteDelay = 10 @@ -67,7 +67,10 @@ enable2ndByteCanID = false pageSize = 128 page = 1 -test = scalar, U08, 6, "test", 50.0, 0, 0, 20000, 2 +; name = class, type, offset, [shape], units, scale, translate, min, max, digits +; First four bytes are used for internal tag. Should not be accessable from TS +CanIndexOffset = scalar, U08, 4, "", 1, 0, 0, 255, 0 +test = scalar, U08, 5, "test", 50.0, 0, 0, 20000, 2 ; total TS size = 1 @@ -75,6 +78,8 @@ test = scalar, U08, 6, "test", 50.0, 0, 0, 20000, 2 ; SettingContextHelpEnd +[Tuning] + [LoggerDefinition] ; valid logger types: composite, tooth, trigger, csv ; loggerDef = compositeLogger, "Primary Trigger Logger", tooth @@ -234,6 +239,7 @@ menuDialog = main menu = "&Idle" menu = "&View" + subMenu = can_settings, "CAN Settings" menu = "&Advanced" @@ -256,4 +262,7 @@ cmd_dfu = "Z\x00\xba\x00\x00" [UserDefined] +dialog = can_settings, "CAN Settings" + field = "CAN message ID offset", CanIndexOffset + [Tools]