cherry pick can cleanup

This commit is contained in:
Matthew Kennedy 2023-02-28 02:11:42 -08:00
parent 3b01f51f4c
commit ce23590edb
3 changed files with 0 additions and 9 deletions

View File

@ -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;

View File

@ -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);

View File

@ -17,7 +17,6 @@ void setCanVss(int type);
void stopCanPins();
void startCanPins();
void enableFrankensoCan();
bool getIsCanEnabled(void);
#if EFI_TUNER_STUDIO