From cf7c946c51c5effa466a81b2e6eb3f91070c17c1 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 27 Sep 2020 07:37:43 -0400 Subject: [PATCH] Output pin init/deinit needs a linked list #1803 --- firmware/controllers/engine_controller.cpp | 2 +- firmware/integration/rusefi_config.txt | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index d76e235602..c4a8729e38 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -710,7 +710,7 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) * UNUSED_SIZE constants. */ #ifndef RAM_UNUSED_SIZE -#define RAM_UNUSED_SIZE 3200 +#define RAM_UNUSED_SIZE 3000 #endif #ifndef CCM_UNUSED_SIZE #define CCM_UNUSED_SIZE 2900 diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 2424937341..1d96286631 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -736,10 +736,8 @@ pin_input_mode_e throttlePedalUpPinMode; uint16_t idlePositionMin;Voltage when the idle valve is closed.\nYou probably don't have one of these!;"mv", 1, 0, 0, 5000, 0 uint16_t idlePositionMax;Voltage when the idle valve is open.\nYou probably don't have one of these!;"mv", 1, 0, 0, 5000, 0 - pin_output_mode_e sdCardCsPinMode; - pin_output_mode_e LIS302DLCsPinMode; - - uint32_t unusedAt724[2];;"units", 1, 0, -20, 100, 0 + + uint8_t[4] unusedAt724;;"units", 1, 0, -20, 100, 0 uint32_t tunerStudioSerialSpeed;Secondary TTL channel baud rate;"BPs", 1, 0, 0,1000000, 0 @@ -1219,7 +1217,7 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300, spi_device_e cj125SpiDevice; pin_output_mode_e cj125CsPinMode; - uint8_t unusedDizzy;;"units",1,0,-20,100,0 + pin_output_mode_e sdCardCsPinMode; int crankingIACposition;+This is the IAC position during cranking, some engines start better if given more air during cranking to improve cylinder filling.;"percent", 1, 0, -100.0, 100, 0 float tChargeMinRpmMinTps;;"mult", 1, 0, 0, 3, 4 @@ -1240,7 +1238,8 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300, custom tle8888_mode_e 1 bits, U08, @OFFSET@, [0:1], "Auto", "SemiAuto", "Manual", "Hall" tle8888_mode_e tle8888mode; - uint8_t[3] unusedSomethingWasHere;;"units", 1, 0, -20, 100, 0 + pin_output_mode_e LIS302DLCsPinMode; + uint8_t[2] unusedSomethingWasHere;;"units", 1, 0, -20, 100, 0 float unused244_1;;"units", 1, 0, -20, 100, 0 float unused244_2;;"units", 1, 0, -20, 100, 0 float unused244_3;;"units", 1, 0, -20, 100, 0