diff --git a/firmware/config/boards/kinetis/config/rusefi_config_kinetis.txt b/firmware/config/boards/kinetis/config/rusefi_config_kinetis.txt index f028b5bb75..252d87298e 100644 --- a/firmware/config/boards/kinetis/config/rusefi_config_kinetis.txt +++ b/firmware/config/boards/kinetis/config/rusefi_config_kinetis.txt @@ -16,3 +16,5 @@ #define CAMS_PER_BANK 1 #define BANKS_COUNT 1 +#define CAMS_PER_BANK_padding 1 +#define CAM_INPUTS_COUNT_padding 3 \ No newline at end of file diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 119260e7a8..011772e676 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -82,8 +82,10 @@ struct_no_prefix engine_configuration_s ! V engines or flat engines would have pairs of shafts with same trigger shape and target position #define BANKS_COUNT 2 #define CAMS_PER_BANK 2 +#define CAMS_PER_BANK_padding 0 #define CAM_INPUTS_COUNT @@BANKS_COUNT@@ * @@CAMS_PER_BANK@@ +#define CAM_INPUTS_COUNT_padding 0 #define SERVO_COUNT 8 @@ -675,6 +677,7 @@ float globalFuelCorrection;set global_fuel_correction X;"coef", 1, 0.0, float adcVcc;; "volts", 1, 0.0, 0, 6.0, 3 float maxKnockSubDeg;maximum total number of degrees to subtract from ignition advance\nwhen knocking;"Deg", 1, 0, 0, 100, 0 brain_input_pin_e[CAM_INPUTS_COUNT iterate] camInputs;+Camshaft input could be used either just for engine phase detection if your trigger shape does not include cam sensor as 'primary' channel, or it could be used for Variable Valve timing on one of the camshafts.\nTODO #660 + uint8_t[CAM_INPUTS_COUNT_padding] camInputsPadding;; struct afr_sensor_s adc_channel_e hwChannel; @@ -1300,6 +1303,7 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300, float[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE] narrowToWideOxygenBins;Narrow Band WBO Approximation;"V", 1, 0, -10.0, 10.0, 3 float[NARROW_BAND_WIDE_BAND_CONVERSION_SIZE] narrowToWideOxygen;;"ratio", 1, 0, -40.0, 40.0, 2 vvt_mode_e[CAMS_PER_BANK iterate] vvtMode;set vvt_mode X + uint8_t[CAMS_PER_BANK_padding] vvtModePadding;; uint8_t[22] unusedOldBiquad;;"units", 1, 0, -20, 100, 0 float[CLT_TIMING_CURVE_SIZE] cltTimingBins;CLT-based timing correction;"C", 1, 0, -100.0, 250.0, 1 float[CLT_TIMING_CURVE_SIZE] cltTimingExtra;;"degree", 1, 0, -400.0, 400.0, 0