26 lines
571 B
C++
26 lines
571 B
C++
/**
|
|
* @file subaru.cpp
|
|
*
|
|
* SUBARU_2003_WRX
|
|
* set_engine_type 22
|
|
*
|
|
* @date Sep 14, 2014
|
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
|
*/
|
|
|
|
#include "subaru.h"
|
|
#include "honda_accord.h"
|
|
|
|
EXTERN_ENGINE;
|
|
|
|
void setSubaru2003Wrx(DECLARE_ENGINE_PARAMETER_F) {
|
|
setFrankenso_01_LCD(boardConfiguration);
|
|
setFrankenso0_1_joystick(engineConfiguration);
|
|
|
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
|
engineConfiguration->trigger.customTotalToothCount = 5;
|
|
engineConfiguration->trigger.customSkippedToothCount = 1;
|
|
|
|
engineConfiguration->sensorChartFrequency = 2;
|
|
}
|