rusefi/firmware/config/engines/slingshot.cpp

36 lines
1.2 KiB
C++
Raw Normal View History

2023-07-11 14:19:46 -07:00
/*
https://rusefi.com/docs/pinouts/hellen/hellen-112-17/
*/
2023-07-11 12:08:58 -07:00
#include "pch.h"
2023-07-12 08:34:25 -07:00
#include "defaults.h"
#include "proteus_meta.h"
2023-07-11 12:08:58 -07:00
// set engine_type 33
2023-07-19 15:49:10 -07:00
// ME17_9_MISC
2023-07-11 12:08:58 -07:00
void setSlingshot() {
2023-07-19 07:54:21 -07:00
strcpy(engineConfiguration->engineMake, "Polaris");
2023-07-19 18:51:38 -07:00
engineConfiguration->cylindersCount = 4;
engineConfiguration->firingOrder = FO_1_4_3_2; // yes WOW that's not the most popular firing order!!!
2023-07-19 09:27:52 -07:00
engineConfiguration->injectionMode = IM_SEQUENTIAL;
2023-07-19 18:51:38 -07:00
engineConfiguration->trigger.type = trigger_type_e::TT_TOOTHED_WHEEL_36_1;
engineConfiguration->vvtMode[0] = VVT_BOSCH_QUICK_START;
2023-07-19 09:27:52 -07:00
engineConfiguration->ignitionMode = IM_WASTED_SPARK; // just for now
engineConfiguration->twoWireBatchIgnition = true;
2023-07-19 15:29:27 -07:00
engineConfiguration->globalTriggerAngleOffset = 110;
2023-07-19 09:27:52 -07:00
2023-07-19 15:29:27 -07:00
//engineConfiguration->map.sensor.type = MT_GM_1_BAR;
2023-07-19 09:27:52 -07:00
engineConfiguration->map.sensor.type = MT_CUSTOM;
// GM TMAP is recommended
engineConfiguration->map.sensor.lowValue = 20;
engineConfiguration->mapLowValueVoltage = 0.3;
engineConfiguration->map.sensor.highValue = 250;
engineConfiguration->mapHighValueVoltage = 4.65;
#if HW_PROTEUS
setProteusEtbIO();
2023-07-19 18:51:38 -07:00
engineConfiguration->invertCamVVTSignal = true;
#endif // HW_PROTEUS
2023-07-11 12:08:58 -07:00
}