rusefi-1/unit_tests/logicdata.h

21 lines
358 B
C
Raw Normal View History

2020-07-19 14:42:11 -07:00
/*
* @file logicdata.h
*
* Created on: Jul 19, 2020
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#pragma once
struct CompositeEvent {
int timestamp;
bool primaryTrigger;
bool secondaryTrigger;
bool isTDC;
2020-07-19 14:42:11 -07:00
bool sync;
bool coil;
bool injector;
};
2020-07-19 18:30:49 -07:00
void writeFile(const char * fileName, CompositeEvent *events, int count);