Subversion Repositories libIgnTiming

Rev

Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  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
  20.