auto-sync
This commit is contained in:
parent
1a0b1ae449
commit
021aeefcae
|
@ -54,8 +54,15 @@
|
|||
|
||||
|
||||
#if EFI_CLOCK_LOCKS
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
void onLockHook(void);
|
||||
void onUnlockHook(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#define ON_LOCK_HOOK onLockHook()
|
||||
#define ON_UNLOCK_HOOK onUnlockHook()
|
||||
#else /* EFI_CLOCK_LOCKS */
|
||||
|
|
|
@ -311,6 +311,7 @@ void triggerInfo(Engine *engine) {
|
|||
engine->m.mainTriggerCallbackTime);
|
||||
|
||||
scheduleMsg(logger, "maxLockTime=%d / maxTriggerReentraint=%d", maxLockTime, maxTriggerReentraint);
|
||||
maxLockTime = 0;
|
||||
scheduleMsg(logger, "maxEventQueueTime=%d", maxEventQueueTime);
|
||||
|
||||
scheduleMsg(logger, "hipLastExecutionCount=%d", hipLastExecutionCount);
|
||||
|
|
|
@ -72,10 +72,10 @@ uint32_t skipUntilEngineCycle = 0;
|
|||
|
||||
#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||
extern WaveChart waveChart;
|
||||
static void resetWaveChartNow(void) {
|
||||
skipUntilEngineCycle = engine->rpmCalculator.getRevolutionCounter() + 3;
|
||||
waveChart.resetWaveChart();
|
||||
}
|
||||
//static void resetWaveChartNow(void) {
|
||||
// skipUntilEngineCycle = engine->rpmCalculator.getRevolutionCounter() + 3;
|
||||
// waveChart.resetWaveChart();
|
||||
//}
|
||||
#endif
|
||||
|
||||
void WaveChart::resetWaveChart() {
|
||||
|
@ -106,8 +106,8 @@ bool_t WaveChart::isWaveChartFull() {
|
|||
}
|
||||
|
||||
static void printStatus(void) {
|
||||
scheduleMsg(&logger, "digital chart: %s", boolToString(engineConfiguration->isEngineChartEnabled));
|
||||
scheduleMsg(&logger, "chartsize=%d", engineConfiguration->engineChartSize);
|
||||
scheduleMsg(&logger, "engine chart: %s", boolToString(engineConfiguration->isEngineChartEnabled));
|
||||
scheduleMsg(&logger, "engine chart size=%d", engineConfiguration->engineChartSize);
|
||||
}
|
||||
|
||||
static void setChartActive(int value) {
|
||||
|
@ -260,9 +260,9 @@ void initWaveChart(WaveChart *chart) {
|
|||
|
||||
addConsoleActionI("chartsize", setChartSize);
|
||||
addConsoleActionI("chart", setChartActive);
|
||||
#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||
addConsoleAction("reset_wave_chart", resetWaveChartNow);
|
||||
#endif
|
||||
//#if ! EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||
// addConsoleAction("reset_engine_chart", resetWaveChartNow);
|
||||
//#endif
|
||||
}
|
||||
|
||||
#endif /* EFI_WAVE_CHART */
|
||||
|
|
Loading…
Reference in New Issue