Nissan 4 cylinder QR trigger wheel #3118

This commit is contained in:
Andrey 2021-08-08 04:56:56 -04:00
parent a2d18fa0b7
commit 167f2dbba0
3 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,7 @@ All notable user-facing or behavior-altering changes will be documented in this
### Added
- RUSEFI MSD now contains bundle-specific URL #2848
- Nissan 4 cylinder QR trigger wheel #3118
## Removed
- TS file read feature #3004

View File

@ -145,6 +145,10 @@ void initializeNissanVQ35crank(TriggerWaveform *s) {
void initializeNissanQR25crank(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR);
s->setTriggerSynchronizationGap(0.33);
s->setSecondTriggerSynchronizationGap(3);
s->tdcPosition = 675;
float currentAngle = 20;
for (int i = 0;i < 16;i++) {

View File

@ -553,6 +553,9 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e ambiguousOperat
break;
case TT_NISSAN_QR25:
initializeNissanQR25crank(this);
break;
case TT_NISSAN_VQ30:
initializeNissanVQ30cam(this);
break;