minor housekeeping
This commit is contained in:
parent
889c374beb
commit
86b2e26506
|
@ -10,7 +10,7 @@
|
|||
|
||||
void turnInjectionPinHigh(InjectionEvent *event) {
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
for (int i = 0;i < MAX_WIRES_COUNT;i++) {
|
||||
for (size_t i = 0; i < efi::size(event->outputs); i++) {
|
||||
InjectorOutputPin *output = event->outputs[i];
|
||||
|
||||
if (output) {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#define MAX_WIRES_COUNT 2
|
||||
|
||||
|
||||
class InjectionEvent {
|
||||
public:
|
||||
InjectionEvent();
|
||||
|
|
|
@ -57,7 +57,7 @@ void turnInjectionPinLow(InjectionEvent *event) {
|
|||
efitick_t nowNt = getTimeNowNt();
|
||||
|
||||
event->isScheduled = false;
|
||||
for (int i = 0;i<MAX_WIRES_COUNT;i++) {
|
||||
for (size_t i = 0; i < efi::size(event->outputs); i++) {
|
||||
InjectorOutputPin *output = event->outputs[i];
|
||||
if (output) {
|
||||
output->close(nowNt);
|
||||
|
|
Loading…
Reference in New Issue