Line |
Branch |
Decision |
Exec |
Source |
1 |
|
|
|
/* |
2 |
|
|
|
* @file honda_600.cpp |
3 |
|
|
|
* |
4 |
|
|
|
* set engine_type 43 |
5 |
|
|
|
* |
6 |
|
|
|
* @date Jul 9, 2016 |
7 |
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020 |
8 |
|
|
|
*/ |
9 |
|
|
|
|
10 |
|
|
|
#include "pch.h" |
11 |
|
|
|
|
12 |
|
|
|
#include "honda_600.h" |
13 |
|
|
|
#include "custom_engine.h" |
14 |
|
|
|
|
15 |
|
|
✗ |
void setHonda600() { |
16 |
|
|
|
|
17 |
|
|
✗ |
engineConfiguration->trigger.type = trigger_type_e::TT_HONDA_CBR_600; |
18 |
|
|
|
|
19 |
|
|
|
|
20 |
|
|
|
// set global_trigger_offset_angle 180 |
21 |
|
|
|
// set global_trigger_offset_angle 540 |
22 |
|
|
✗ |
engineConfiguration->globalTriggerAngleOffset = 70; // huh why is this here? do we need better tdcPosition in configureHondaCbr600? |
23 |
|
|
|
|
24 |
|
|
✗ |
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS; |
25 |
|
|
✗ |
engineConfiguration->injectionMode = IM_SEQUENTIAL; |
26 |
|
|
✗ |
engineConfiguration->cylindersCount = 4; |
27 |
|
|
✗ |
engineConfiguration->firingOrder = FO_1_3_4_2; |
28 |
|
|
|
|
29 |
|
|
✗ |
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS; |
30 |
|
|
|
|
31 |
|
|
✗ |
} |
32 |
|
|
|
|
33 |
|
|
|
|