only:proteus_f7
This commit is contained in:
rusefillc 2023-11-12 22:43:34 -05:00
parent 314e6037a5
commit 20e9f6178a
3 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ void HarleyAcr::onSlowCallback() {
}
bool acrState = getAcrState();
engine->engineState.acrStateDup = acrState;
engine->outputChannels.acrActive = acrState;
enginePins.harleyAcr.setValue(acrState);
enginePins.harleyAcr2.setValue(acrState);

View File

@ -39,6 +39,7 @@ struct_no_prefix engine_state_s
int8_t brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
int8_t startStopState
bit startStopPhysicalState
bit acrStateDup
uint32_t startStopStateToggleCounter
float egtValue1

View File

@ -576,7 +576,7 @@ custom spi_device_e 1 bits, U08, @OFFSET@, [0:2], "Off", "SPI1", "SPI2", "SPI3",
uint8_t boostControlSafeDutyCycle;Duty cycle to use in case of a sensor failure. This duty cycle should produce the minimum possible amount of boost. This duty is also used in case any of the minimum RPM/TPS/MAP conditions are not met.;"%", 1, 0, 0, 100, 0
adc_channel_e mafAdcChannel
uint8_t acrRevolutions;;"", 1, 0, 0, 10, 0
uint8_t acrRevolutions;;"", 1, 0, 0, 100, 0
float globalFuelCorrection;;"coef", 1, 0, 0, 1000, 2