send more of Engine Sniffer data #4560
This commit is contained in:
parent
ec184423f2
commit
85140ac80b
|
@ -31,6 +31,12 @@
|
|||
// a bit weird because of conditional compilation
|
||||
static char shaft_signal_msg_index[15];
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
#define addEngineSnifferEvent(name, msg) { if (getTriggerCentral()->isEngineSnifferEnabled) { waveChart.addEvent3((name), (msg)); } }
|
||||
#else
|
||||
#define addEngineSnifferEvent(n, msg) {}
|
||||
#endif /* EFI_ENGINE_SNIFFER */
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
|
||||
#include "eficonsole.h"
|
||||
|
@ -39,8 +45,6 @@ static char shaft_signal_msg_index[15];
|
|||
#define CHART_DELIMETER '!'
|
||||
extern WaveChart waveChart;
|
||||
|
||||
extern uint32_t maxLockedDuration;
|
||||
|
||||
/**
|
||||
* This is the number of events in the digital chart which would be displayed
|
||||
* on the 'digital sniffer' pane
|
||||
|
@ -73,12 +77,6 @@ static void resetNow() {
|
|||
WaveChart::WaveChart() : logging("wave chart", WAVE_LOGGING_BUFFER, sizeof(WAVE_LOGGING_BUFFER)) {
|
||||
}
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
#define addEngineSnifferEvent(name, msg) { if (getTriggerCentral()->isEngineSnifferEnabled) { waveChart.addEvent3((name), (msg)); } }
|
||||
#else
|
||||
#define addEngineSnifferEvent(n, msg) {}
|
||||
#endif /* EFI_ENGINE_SNIFFER */
|
||||
|
||||
void WaveChart::init() {
|
||||
isInitialized = true;
|
||||
reset();
|
||||
|
|
Loading…
Reference in New Issue