From 5d86f610d5cdf6cd1de5e255f16d7bf76dfc8981 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 22 Nov 2018 12:18:00 -0500 Subject: [PATCH] docs --- firmware/controllers/trigger/spark_logic.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/trigger/spark_logic.cpp b/firmware/controllers/trigger/spark_logic.cpp index e89b14c712..0e258a1b5a 100644 --- a/firmware/controllers/trigger/spark_logic.cpp +++ b/firmware/controllers/trigger/spark_logic.cpp @@ -248,7 +248,10 @@ static ALWAYS_INLINE void handleSparkEvent(bool limitedSpark, uint32_t trgEventI * "scheduleForLater" uses time only and for best precision it's best to use "scheduleForLater" only * once we hit the last trigger tooth prior to needed event. This case we use as much trigger position angle as possible * and only use less precise RPM-based time calculation for the last portion of the angle, the one between two teeth closest to the - * desirent angle moment. + * desired angle moment. + * + * At the moment we only have time-based scheduler. I believe what needs to be added is a trigger-event based scheduler on top of the + * time-based schedule. This case we would be firing events with best possible angle precision. * */ if (iEvent->sparkPosition.eventIndex == trgEventIndex) {