From 5da205089c6de823e3e52959aea90862c3c1162e Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 12 Apr 2020 23:24:46 -0400 Subject: [PATCH] better error message --- firmware/controllers/algo/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index 5c1451d07d..8f39d9ec3a 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -78,9 +78,9 @@ void Engine::initializeTriggerWaveform(Logging *logger DECLARE_ENGINE_PARAMETER_ if (TRIGGER_WAVEFORM(bothFrontsRequired) && engineConfiguration->useOnlyRisingEdgeForTrigger) { #if EFI_PROD_CODE || EFI_SIMULATOR - firmwareError(CUSTOM_ERR_BOTH_FRONTS_REQUIRED, "Inconsistent trigger setup"); + firmwareError(CUSTOM_ERR_BOTH_FRONTS_REQUIRED, "trigger: both fronts required"); #else - warning(CUSTOM_ERR_BOTH_FRONTS_REQUIRED, "Inconsistent trigger setup"); + warning(CUSTOM_ERR_BOTH_FRONTS_REQUIRED, "trigger: both fronts required"); #endif }