From 3edd22e9fa3faf05e3d0d693474707c039d2806d Mon Sep 17 00:00:00 2001 From: tmj-fstate Date: Sun, 17 Mar 2019 19:45:45 +0100 Subject: [PATCH] diesel engine startup check fix --- McZapkie/Mover.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/McZapkie/Mover.cpp b/McZapkie/Mover.cpp index 32ce19f7..8055009c 100644 --- a/McZapkie/Mover.cpp +++ b/McZapkie/Mover.cpp @@ -6135,8 +6135,8 @@ bool TMoverParameters::dizel_StartupCheck() { // test the fuel pump // TODO: add fuel pressure check - if( ( RList[ MainCtrlPos ].R == 0.0 ) - || ( false == FuelPump.is_active ) ) { + if( ( false == FuelPump.is_active ) + || ( ( EngineType == TEngineType::DieselEngine ) && ( RList[ MainCtrlPos ].R == 0.0 ) ) ) { engineisready = false; // if( FuelPump.start_type == start_t::manual ) { // with manual pump control startup procedure is done only once per starter switch press