Rev 6 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | // This file deals with looking up ignition timing |
2 | |||
3 | |||
4 | |||
5 | #pragma once |
||
6 | |||
7 | #define TIMING_SCALE 10 |
||
8 | |||
9 | #if defined __cplusplus |
||
10 | extern "C" { |
||
11 | #endif |
||
12 | /// @brief Lookup ignition timing |
||
13 | /// @param rpm Engine Speed in RPM |
||
14 | /// @param vacuumMb Ported vacuum in millibars of vacuum |
||
15 | /// @return Vacuum advance in degrees * TIMING_SCALE; |
||
16 | int mapTiming(int rpm, int vacuumMb); |
||
17 | #if defined __cplusplus |
||
18 | } |
||
19 | #endif |