auto-sync
This commit is contained in:
parent
92dc1cc061
commit
d99d6fe04b
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue