Trigger setup in TS is highly confusing: hide operation mode from users? #4031

This commit is contained in:
rusefillc 2022-04-02 22:55:44 -04:00
parent 360618a72d
commit 67412fbf43
2 changed files with 4 additions and 1 deletions

View File

@ -814,6 +814,8 @@ void setRotary() {
engineConfiguration->trigger.type = TT_36_2_2_2;
setOperationMode(engineConfiguration, TWO_STROKE);
// todo: fix UI to make this possible via TS
engineConfiguration->twoStroke = true;
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_MAZDA);
strcpy(engineConfiguration->engineCode, "13B");

View File

@ -33,13 +33,14 @@ void setFordInline6() {
/**
* 0.5ms dweel time just to be sure it would fit within camshaft revolution, dwell is not controlled by us anyway
* 0.5ms dwell time just to be sure it would fit within camshaft revolution, dwell is not controlled by us anyway
*/
setConstantDwell(0.5);
/**
* We treat the trigger as 6/0 toothed wheel
*/
engineConfiguration->skippedWheelOnCam = true;
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
engineConfiguration->trigger.customTotalToothCount = 6;
engineConfiguration->trigger.customSkippedToothCount = 0;