27 lines
641 B
C++
27 lines
641 B
C++
/**
|
|
* @file nissan_primera.cpp
|
|
*
|
|
* NISSAN_PRIMERA
|
|
* set engine_type 5
|
|
*
|
|
* @date Oct 14, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#include "pch.h"
|
|
|
|
#include "nissan_primera.h"
|
|
|
|
void setNissanPrimeraEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|
setDefaultFrankensoConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
|
|
|
|
engineConfiguration->trigger.type = TT_NISSAN_SR20VE;
|
|
|
|
engineConfiguration->auxValves[0] = GPIOE_14;
|
|
engineConfiguration->auxValves[1] = GPIOE_12;
|
|
}
|
|
|
|
void setNissanPrimeraEngineConfiguration_360(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|
engineConfiguration->trigger.type = TT_NISSAN_SR20VE_360;
|
|
}
|