only:alphax-8chan
This commit is contained in:
parent
b5c5d27f7b
commit
d09294fbfa
|
@ -13,17 +13,17 @@
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
|
|
||||||
static OutputPin alphaEn;
|
static OutputPin alphaEn;
|
||||||
static OutputPin alphaTachPullUp;
|
//static OutputPin alphaTachPullUp;
|
||||||
static OutputPin alphaTempPullUp;
|
static OutputPin alphaTempPullUp;
|
||||||
static OutputPin alphaCrankPPullUp;
|
static OutputPin alphaCrankPPullUp;
|
||||||
static OutputPin alphaCrankNPullUp;
|
static OutputPin alphaCrankNPullUp;
|
||||||
static OutputPin alpha2stepPullDown;
|
static OutputPin alpha2stepPullDown;
|
||||||
static OutputPin alphaCamPullDown;
|
static OutputPin alphaCamPullDown;
|
||||||
static OutputPin alphaCamVrPullUp;
|
static OutputPin alphaCamVrPullUp;
|
||||||
static OutputPin alphaD2PullDown;
|
//static OutputPin alphaD2PullDown;
|
||||||
static OutputPin alphaD3PullDown;
|
//static OutputPin alphaD3PullDown;
|
||||||
static OutputPin alphaD4PullDown;
|
//static OutputPin alphaD4PullDown;
|
||||||
static OutputPin alphaD5PullDown;
|
//static OutputPin alphaD5PullDown;
|
||||||
|
|
||||||
static void setInjectorPins() {
|
static void setInjectorPins() {
|
||||||
engineConfiguration->injectionPins[0] = H144_LS_1;
|
engineConfiguration->injectionPins[0] = H144_LS_1;
|
||||||
|
@ -134,7 +134,7 @@ void boardInitHardware() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration*/) {
|
void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration*/) {
|
||||||
alphaTachPullUp.setValue(engineConfiguration->boardUseTachPullUp);
|
// alphaTachPullUp.setValue(engineConfiguration->boardUseTachPullUp);
|
||||||
alphaTempPullUp.setValue(engineConfiguration->boardUseTempPullUp);
|
alphaTempPullUp.setValue(engineConfiguration->boardUseTempPullUp);
|
||||||
alphaCrankPPullUp.setValue(engineConfiguration->boardUseCrankPullUp);
|
alphaCrankPPullUp.setValue(engineConfiguration->boardUseCrankPullUp);
|
||||||
alphaCrankNPullUp.setValue(engineConfiguration->boardUseCrankPullUp);
|
alphaCrankNPullUp.setValue(engineConfiguration->boardUseCrankPullUp);
|
||||||
|
@ -142,10 +142,10 @@ void boardOnConfigurationChange(engine_configuration_s * /*previousConfiguration
|
||||||
alphaCamPullDown.setValue(engineConfiguration->boardUseCamPullDown);
|
alphaCamPullDown.setValue(engineConfiguration->boardUseCamPullDown);
|
||||||
alphaCamVrPullUp.setValue(engineConfiguration->boardUseCamVrPullUp);
|
alphaCamVrPullUp.setValue(engineConfiguration->boardUseCamVrPullUp);
|
||||||
|
|
||||||
alphaD2PullDown.setValue(engineConfiguration->boardUseD2PullDown);
|
// alphaD2PullDown.setValue(engineConfiguration->boardUseD2PullDown);
|
||||||
alphaD3PullDown.setValue(engineConfiguration->boardUseD3PullDown);
|
// alphaD3PullDown.setValue(engineConfiguration->boardUseD3PullDown);
|
||||||
alphaD4PullDown.setValue(engineConfiguration->boardUseD4PullDown);
|
// alphaD4PullDown.setValue(engineConfiguration->boardUseD4PullDown);
|
||||||
alphaD5PullDown.setValue(engineConfiguration->boardUseD5PullDown);
|
// alphaD5PullDown.setValue(engineConfiguration->boardUseD5PullDown);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setBoardConfigOverrides() {
|
void setBoardConfigOverrides() {
|
||||||
|
|
Loading…
Reference in New Issue