cherry pick can cleanup
This commit is contained in:
parent
3b01f51f4c
commit
ce23590edb
|
@ -267,10 +267,8 @@ void setDodgeNeonNGCEngineConfiguration() {
|
|||
engineConfiguration->alternatorControl.dFactor = 0.1;
|
||||
engineConfiguration->alternatorControl.periodMs = 10;
|
||||
|
||||
// enableFrankensoCan();
|
||||
engineConfiguration->canWriteEnabled = true;
|
||||
engineConfiguration->canNbcType = CAN_BUS_NBC_BMW;
|
||||
// engineConfiguration->canNbcType = CAN_BUS_MAZDA_RX8;
|
||||
|
||||
engineConfiguration->tpsAccelEnrichmentThreshold = 10;
|
||||
|
||||
|
|
|
@ -272,12 +272,6 @@ void postCanState() {
|
|||
}
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
|
||||
void enableFrankensoCan() {
|
||||
engineConfiguration->canTxPin = Gpio::B6;
|
||||
engineConfiguration->canRxPin = Gpio::B12;
|
||||
engineConfiguration->canReadEnabled = false;
|
||||
}
|
||||
|
||||
void stopCanPins() {
|
||||
efiSetPadUnusedIfConfigurationChanged(canTxPin);
|
||||
efiSetPadUnusedIfConfigurationChanged(canRxPin);
|
||||
|
|
|
@ -17,7 +17,6 @@ void setCanVss(int type);
|
|||
|
||||
void stopCanPins();
|
||||
void startCanPins();
|
||||
void enableFrankensoCan();
|
||||
bool getIsCanEnabled(void);
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
|
|
Loading…
Reference in New Issue