hellen and else are confused about pins they do not know about
This commit is contained in:
parent
b1a99c75d5
commit
26dc3303bd
|
@ -346,7 +346,7 @@ static void setDefaultIdleSpeedTarget(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setCurveValue(engineConfiguration->cltIdleRpmBins, engineConfiguration->cltIdleRpm, CLT_CURVE_SIZE, 110, 1100);
|
setCurveValue(engineConfiguration->cltIdleRpmBins, engineConfiguration->cltIdleRpm, CLT_CURVE_SIZE, 110, 1100);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setDefaultStepperIdleParameters(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
static void setDefaultFrankensoStepperIdleParameters(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->idle.stepperDirectionPin = GPIOE_10;
|
engineConfiguration->idle.stepperDirectionPin = GPIOE_10;
|
||||||
engineConfiguration->idle.stepperStepPin = GPIOE_12;
|
engineConfiguration->idle.stepperStepPin = GPIOE_12;
|
||||||
engineConfiguration->stepperEnablePin = GPIOE_14;
|
engineConfiguration->stepperEnablePin = GPIOE_14;
|
||||||
|
@ -595,8 +595,6 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
engineConfiguration->useStepperIdle = false;
|
engineConfiguration->useStepperIdle = false;
|
||||||
|
|
||||||
setDefaultStepperIdleParameters(PASS_ENGINE_PARAMETER_SIGNATURE);
|
|
||||||
|
|
||||||
setDefaultGppwmParameters(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setDefaultGppwmParameters(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
#if !EFI_UNIT_TEST
|
#if !EFI_UNIT_TEST
|
||||||
|
@ -724,7 +722,7 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
* @brief Hardware board-specific default configuration (GPIO pins, ADC channels, SPI configs etc.)
|
* @brief Hardware board-specific default configuration (GPIO pins, ADC channels, SPI configs etc.)
|
||||||
*/
|
*/
|
||||||
void setDefaultFrankensoConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
void setDefaultFrankensoConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
setDefaultStepperIdleParameters(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
setCanFrankensoDefaults(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setCanFrankensoDefaults(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
engineConfiguration->map.sensor.hwChannel = EFI_ADC_4;
|
engineConfiguration->map.sensor.hwChannel = EFI_ADC_4;
|
||||||
|
|
Loading…
Reference in New Issue