auto-sync
This commit is contained in:
parent
69fedab011
commit
5c22dd9db4
|
@ -70,7 +70,7 @@ static LoggingWithStorage logger("wave info");
|
||||||
*/
|
*/
|
||||||
uint32_t skipUntilEngineCycle = 0;
|
uint32_t skipUntilEngineCycle = 0;
|
||||||
|
|
||||||
#if ! EFI_UNIT_TEST
|
#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||||
extern WaveChart waveChart;
|
extern WaveChart waveChart;
|
||||||
static void resetWaveChartNow(void) {
|
static void resetWaveChartNow(void) {
|
||||||
skipUntilEngineCycle = engine->rpmCalculator.getRevolutionCounter() + 3;
|
skipUntilEngineCycle = engine->rpmCalculator.getRevolutionCounter() + 3;
|
||||||
|
@ -250,17 +250,17 @@ void initWaveChart(WaveChart *chart) {
|
||||||
|
|
||||||
printStatus();
|
printStatus();
|
||||||
|
|
||||||
#if DEBUG_WAVE
|
#if DEBUG_WAVE || defined(__DOXYGEN__)
|
||||||
initLoggingExt(&debugLogging, "wave chart debug", &debugLogging.DEFAULT_BUFFER, sizeof(debugLogging.DEFAULT_BUFFER));
|
initLoggingExt(&debugLogging, "wave chart debug", &debugLogging.DEFAULT_BUFFER, sizeof(debugLogging.DEFAULT_BUFFER));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EFI_HISTOGRAMS
|
#if EFI_HISTOGRAMS || defined(__DOXYGEN__)
|
||||||
initHistogram(&waveChartHisto, "wave chart");
|
initHistogram(&waveChartHisto, "wave chart");
|
||||||
#endif /* EFI_HISTOGRAMS */
|
#endif /* EFI_HISTOGRAMS */
|
||||||
|
|
||||||
addConsoleActionI("chartsize", setChartSize);
|
addConsoleActionI("chartsize", setChartSize);
|
||||||
addConsoleActionI("chart", setChartActive);
|
addConsoleActionI("chart", setChartActive);
|
||||||
#if ! EFI_UNIT_TEST
|
#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||||
addConsoleAction("reset_wave_chart", resetWaveChartNow);
|
addConsoleAction("reset_wave_chart", resetWaveChartNow);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue