please please please do not be the issue
This commit is contained in:
parent
ab3a1eae7e
commit
326d8d98a4
|
@ -166,8 +166,6 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->vvtPins[1] = H144_OUT_PWM8;
|
||||
|
||||
engineConfiguration->boardUseTempPullUp = true;
|
||||
// todo: use board ID condition? below D no SD, D and up with SD?
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->acSwitch = Gpio::Unassigned;
|
||||
engineConfiguration->fuelPumpPin = H144_OUT_IO12;
|
||||
|
|
|
@ -174,7 +174,6 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->vvtPins[1] = H144_OUT_PWM8;
|
||||
|
||||
engineConfiguration->boardUseTempPullUp = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->mainRelayPin = H144_OUT_IO10;
|
||||
engineConfiguration->fanPin = H144_OUT_IO11;
|
||||
|
|
|
@ -117,8 +117,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
engineConfiguration->invertPrimaryTriggerSignal = true;
|
||||
|
|
|
@ -99,7 +99,6 @@ void setBoardDefaultConfiguration() {
|
|||
setHondaK();
|
||||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->globalTriggerAngleOffset = 663;
|
||||
|
||||
|
|
|
@ -90,8 +90,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
engineConfiguration->boostControlPin = H144_LS_6;
|
||||
|
|
|
@ -99,7 +99,6 @@ void setBoardDefaultConfiguration() {
|
|||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
engineConfiguration->canNbcType = CAN_BUS_NBC_NONE; // none because handled by Lua!
|
||||
|
|
|
@ -104,8 +104,6 @@ void setBoardDefaultConfiguration() {
|
|||
|
||||
engineConfiguration->globalTriggerAngleOffset = 93;
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
// todo: should this be a global default not just Hellen121?
|
||||
engineConfiguration->boostCutPressure = 200;
|
||||
|
||||
|
|
|
@ -157,8 +157,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
engineConfiguration->fuelPumpPin = Gpio::D15;
|
||||
|
|
|
@ -148,7 +148,6 @@ void setBoardDefaultConfiguration() {
|
|||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
engineConfiguration->canNbcType = CAN_BUS_GENESIS_COUPE;
|
||||
|
|
|
@ -91,8 +91,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
// these stm32 pins do not match hellen_meta, is that because hellenNA6 is not using latest MCU version?
|
||||
|
|
|
@ -98,8 +98,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
engineConfiguration->acRelayPin = Gpio::H15;
|
||||
|
|
|
@ -105,8 +105,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->fuelPumpPin = Gpio::G2; // OUT_IO9
|
||||
engineConfiguration->fanPin = Gpio::D12; // OUT_PWM8
|
||||
engineConfiguration->mainRelayPin = Gpio::I2; // OUT_LOW3
|
||||
|
|
|
@ -97,7 +97,6 @@ void setBoardDefaultConfiguration() {
|
|||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
engineConfiguration->canNbcType = CAN_BUS_NISSAN_VQ;
|
||||
|
|
|
@ -95,8 +95,6 @@ void setBoardDefaultConfiguration() {
|
|||
setInjectorPins();
|
||||
setIgnitionPins();
|
||||
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
|
||||
engineConfiguration->enableSoftwareKnock = true;
|
||||
|
||||
engineConfiguration->boostControlPin = H144_LS_6;
|
||||
|
|
|
@ -214,6 +214,7 @@ void detectHellenBoardType();
|
|||
#define H_SPI3_CS Gpio::A15
|
||||
|
||||
static void setHellenSdCardSpi1() {
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_1;
|
||||
engineConfiguration->spi1mosiPin = H_SPI1_MOSI;
|
||||
engineConfiguration->spi1misoPin = H_SPI1_MISO;
|
||||
|
@ -223,6 +224,7 @@ static void setHellenSdCardSpi1() {
|
|||
}
|
||||
|
||||
static void setHellenSdCardSpi2() {
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_2;
|
||||
engineConfiguration->spi2mosiPin = H_SPI2_MOSI;
|
||||
engineConfiguration->spi2misoPin = H_SPI2_MISO;
|
||||
|
@ -232,6 +234,7 @@ static void setHellenSdCardSpi2() {
|
|||
}
|
||||
|
||||
static void setHellenSdCardSpi3() {
|
||||
engineConfiguration->isSdCardEnabled = true;
|
||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
||||
engineConfiguration->spi3mosiPin = H_SPI3_MOSI;
|
||||
engineConfiguration->spi3misoPin = H_SPI3_MISO;
|
||||
|
|
Loading…
Reference in New Issue