rusefi/unit_tests/logicdata.h

23 lines
385 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
#include <vector>
2020-07-19 14:42:11 -07:00
struct CompositeEvent {
int timestamp;
bool primaryTrigger;
bool secondaryTrigger;
bool isTDC;
2020-07-19 14:42:11 -07:00
bool sync;
bool coil;
bool injector;
};
void writeFile(const char * fileName, const std::vector<CompositeEvent>& events);