mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
diesel engine startup check fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user