Default binary should have more relaxed pinout: serial fix #4998

we can now simplify code a bit
This commit is contained in:
rusefillc 2023-01-23 08:16:30 -05:00
parent 91923771d7
commit 124493efeb
4 changed files with 2 additions and 7 deletions

View File

@ -276,7 +276,6 @@ void setMreVwPassatB6() {
coolantControl->pin = MRE_LS_2;
// "7 - Lowside 1"
//engineConfiguration->hpfpValvePin = MRE_LS_1;
engineConfiguration->disablePrimaryUart = true;
engineConfiguration->hpfpValvePin = Gpio::B10; // AUX J13

View File

@ -86,10 +86,7 @@ class SerialTsChannel;
void startSerialChannels() {
#if defined(TS_PRIMARY_UxART_PORT)
// todo: invert setting one day?
if (!engineConfiguration->disablePrimaryUart) {
primaryChannelThread.start();
}
primaryChannelThread.start();
#endif
#if defined(TS_SECONDARY_UxART_PORT)

View File

@ -1010,7 +1010,7 @@ end_struct
uint16_t tps2SecondaryMin;;"ADC", 1, 0, 0, 1000, 0
uint16_t tps2SecondaryMax;;"ADC", 1, 0, 0, 1000, 0
bit disablePrimaryUart
bit unusedBitDisablePrimaryUart
bit fuelClosedLoopCorrectionEnabled;Enables lambda sensor closed loop feedback for fuelling.
bit isVerboseIAC;Print details into rusEFI console\nenable verbose_idle
bit boardUseTachPullUp,"12v","5v"

View File

@ -4291,7 +4291,6 @@ dialog = tcuControls, "Transmission Settings"
field = "Tune read/write password", tuneHidingKey, { yesUnderstandLocking == 1 }
field = verboseQuad, verboseQuad
field = useEeprom, useEeprom
field = "disablePrimaryUart", disablePrimaryUart
field = "#System hacks"
field = "vvtBooleanForVerySpecialCases", vvtBooleanForVerySpecialCases
field = tempBooleanForVerySpecialLogic, tempBooleanForVerySpecialLogic