auto-sync

This commit is contained in:
rusEfi 2014-11-25 18:04:39 -06:00
parent 92dc1cc061
commit d99d6fe04b
2 changed files with 6 additions and 3 deletions

View File

@ -71,10 +71,14 @@ public:
uint32_t time2;
uint32_t time3;
uint32_t time4;
uint32_t time5;
uint32_t time6;
uint32_t before2;
uint32_t before3;
uint32_t before4;
uint32_t before5;
uint32_t before6;

View File

@ -93,9 +93,8 @@ OutputSignalList injectonSignals CCM_OPTIONAL;
static void registerSparkEvent(IgnitionEventList *list, io_pin_e pin, float localAdvance,
float dwell DECLARE_ENGINE_PARAMETER_S) {
IgnitionEvent *event = list->getNextActuatorEvent();
if (event == NULL)
return; // error already reported
// todo efiAssertVoid(list->size)
IgnitionEvent *event = &list->events[list->size++];
if (!isPinAssigned(pin)) {
// todo: extact method for this index math