Line |
Branch |
Decision |
Exec |
Source |
1 |
|
|
|
/** |
2 |
|
|
|
* @file event_registry.cpp |
3 |
|
|
|
* @brief This data structure knows when to do what |
4 |
|
|
|
* |
5 |
|
|
|
* @date Nov 27, 2013 |
6 |
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020 |
7 |
|
|
|
* |
8 |
|
|
|
* |
9 |
|
|
|
* This file is part of rusEfi - see http://rusefi.com |
10 |
|
|
|
* |
11 |
|
|
|
* rusEfi is free software; you can redistribute it and/or modify it under the terms of |
12 |
|
|
|
* the GNU General Public License as published by the Free Software Foundation; either |
13 |
|
|
|
* version 3 of the License, or (at your option) any later version. |
14 |
|
|
|
* |
15 |
|
|
|
* rusEfi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without |
16 |
|
|
|
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 |
|
|
|
* GNU General Public License for more details. |
18 |
|
|
|
* |
19 |
|
|
|
* You should have received a copy of the GNU General Public License along with this program. |
20 |
|
|
|
* If not, see <http://www.gnu.org/licenses/>. |
21 |
|
|
|
*/ |
22 |
|
|
|
|
23 |
|
|
|
#include "pch.h" |
24 |
|
|
|
|
25 |
|
|
|
#include "event_registry.h" |
26 |
|
|
|
|
27 |
|
|
8124 |
IgnitionEvent::IgnitionEvent() { |
28 |
|
|
8124 |
memset(outputs, 0, sizeof(outputs)); |
29 |
|
|
8124 |
} |
30 |
|
|
|
|
31 |
|
|
27484 |
IgnitionOutputPin * IgnitionEvent::getOutputForLoggins() { |
32 |
|
|
27484 |
return outputs[0]; |
33 |
|
|
|
} |
34 |
|
|
|
|
35 |
|
|
|
|