2015-10-16 12:02:24 -07:00
|
|
|
/*
|
|
|
|
* @file chevrolet_camaro_4.cpp
|
|
|
|
*
|
2015-10-16 13:01:21 -07:00
|
|
|
*
|
|
|
|
* set_engine_type 35
|
|
|
|
*
|
2015-10-16 12:02:24 -07:00
|
|
|
* @date Oct 16, 2015
|
2015-12-31 13:02:30 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
2015-10-16 12:02:24 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "chevrolet_camaro_4.h"
|
|
|
|
|
|
|
|
EXTERN_ENGINE
|
|
|
|
;
|
|
|
|
|
|
|
|
void setCamaro4(DECLARE_ENGINE_PARAMETER_F) {
|
|
|
|
|
2015-10-16 13:01:21 -07:00
|
|
|
engineConfiguration->specs.displacement = 5.7;
|
|
|
|
engineConfiguration->specs.cylindersCount = 8;
|
|
|
|
|
2016-05-27 20:02:16 -07:00
|
|
|
engineConfiguration->specs.firingOrder = FO_1_8_7_2_6_5_4_3;
|
2016-06-09 18:02:10 -07:00
|
|
|
|
|
|
|
// set_ignition_mode 2
|
2016-06-06 21:02:45 -07:00
|
|
|
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
2016-05-27 20:02:16 -07:00
|
|
|
|
|
|
|
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
|
|
|
engineConfiguration->trigger.type = TT_GM_LS_24;
|
|
|
|
|
2016-05-27 19:02:56 -07:00
|
|
|
engineConfiguration->map.sensor.hwChannel = EFI_ADC_0; // PA0
|
|
|
|
|
|
|
|
engineConfiguration->mafAdcChannel = EFI_ADC_NONE;
|
|
|
|
engineConfiguration->hasMafSensor = false;
|
|
|
|
|
2016-05-27 21:01:41 -07:00
|
|
|
engineConfiguration->tpsAdcChannel = EFI_ADC_2;
|
|
|
|
|
2016-06-09 18:02:10 -07:00
|
|
|
// todo: move this into trigger definition
|
|
|
|
// set_global_trigger_offset_angle 230
|
|
|
|
engineConfiguration->globalTriggerAngleOffset = 230;
|
|
|
|
|
2015-10-16 12:02:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|