Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
c34a9419ca
|
@ -173,6 +173,7 @@ static ALWAYS_INLINE void handleSparkEvent(bool limitedSpark, uint32_t trgEventI
|
|||
* TODO: improve precision
|
||||
*/
|
||||
efiAssertVoid(!cisnan(iEvent->advance), "findAngle#4");
|
||||
assertAngleRange(iEvent->advance, "findAngle#a5");
|
||||
TRIGGER_SHAPE(findTriggerPosition(&iEvent->sparkPosition, iEvent->advance PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
|
||||
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||
|
@ -247,6 +248,7 @@ void prepareIgnitionSchedule(IgnitionEvent *event DECLARE_ENGINE_PARAMETER_SUFFI
|
|||
|
||||
angle_t a = localAdvance - dwellAngle;
|
||||
efiAssertVoid(!cisnan(a), "findAngle#5");
|
||||
assertAngleRange(a, "findAngle#a6");
|
||||
TRIGGER_SHAPE(findTriggerPosition(&event->dwellPosition, a PASS_ENGINE_PARAMETER_SUFFIX));
|
||||
|
||||
#if FUEL_MATH_EXTREME_LOGGING || defined(__DOXYGEN__)
|
||||
|
|
Loading…
Reference in New Issue