From 151a0c88e18c6cb2e8eda8bcfc63f569ef38c7ef Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 2 Apr 2023 09:43:21 -0400 Subject: [PATCH] https://github.com/rusefi/hellen125honda-issues/issues/23 CAN resistor should it be software-configurable --- firmware/config/boards/hellen/hellen-honda-k/prepend.txt | 1 + firmware/integration/rusefi_config.txt | 2 +- firmware/tunerstudio/rusefi.input | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/config/boards/hellen/hellen-honda-k/prepend.txt b/firmware/config/boards/hellen/hellen-honda-k/prepend.txt index cdf1df57ac..6e7ae6b218 100644 --- a/firmware/config/boards/hellen/hellen-honda-k/prepend.txt +++ b/firmware/config/boards/hellen/hellen-honda-k/prepend.txt @@ -2,6 +2,7 @@ #define ts_show_hip9011 false #define ts_show_cj125 false +#define ts_show_can_terminator true diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index cf79934b3f..fa7d04c23a 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1232,7 +1232,7 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\ bit canOpenBLT; Allow OpenBLT on Primary CAN bit can2OpenBLT; Allow OpenBLT on Secondary CAN bit injectorFlowAsMassFlow,"mass flow","volumetric flow";Select whether to configure injector flow in volumetric flow (defualt, cc/min) or mass flow (g/s). - bit unused1127 + bit boardUseCanTerminator bit unused1128 bit unused1129 bit unused1130 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index f8fe46d65d..f3afc2a127 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -3583,6 +3583,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ field = "Bitrate", canBaudRate field = "RX pin", canRxPin @@if_ts_show_can_pins field = "TX pin", canTxPin @@if_ts_show_can_pins + field = "CAN terminator", boardUseCanTerminator@@if_ts_show_can_terminator field = "Allow OpenBLT", canOpenBLT dialog = canHw2, "Secondary CAN"