GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 10 / 0 / 10
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0
Decisions: -% 0 / - / 0

firmware/config/engines/sachs.cpp
Line Branch Decision Exec Source
1 /**
2 * @file sachs.cpp
3 *
4 * set engine_type 29
5 * http://rusefi.com/forum/viewtopic.php?f=3&t=396
6 *
7 * @date Jan 26, 2015
8 * @author Andrey Belomutskiy, (c) 2012-2020
9 */
10
11 #include "pch.h"
12
13 #include "sachs.h"
14
15 // used by HW CI
16 2 void setSachs() {
17 2 engineConfiguration->displacement = 0.1; // 100cc
18 2 engineConfiguration->cylindersCount = 1;
19
20 2 engineConfiguration->twoStroke = true;
21 2 engineConfiguration->firingOrder = FO_1;
22 2 engineConfiguration->engineChartSize = 400;
23
24 /**
25 * 50/2 trigger
26 */
27 2 engineConfiguration->trigger.type = trigger_type_e::TT_TOOTHED_WHEEL;
28 2 engineConfiguration->trigger.customTotalToothCount = 50;
29 2 engineConfiguration->trigger.customSkippedToothCount = 2;
30 2 }
31