mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
diesel engine startup check fix
This commit is contained in:
@@ -6135,8 +6135,8 @@ bool TMoverParameters::dizel_StartupCheck() {
|
|||||||
|
|
||||||
// test the fuel pump
|
// test the fuel pump
|
||||||
// TODO: add fuel pressure check
|
// TODO: add fuel pressure check
|
||||||
if( ( RList[ MainCtrlPos ].R == 0.0 )
|
if( ( false == FuelPump.is_active )
|
||||||
|| ( false == FuelPump.is_active ) ) {
|
|| ( ( EngineType == TEngineType::DieselEngine ) && ( RList[ MainCtrlPos ].R == 0.0 ) ) ) {
|
||||||
engineisready = false;
|
engineisready = false;
|
||||||
// if( FuelPump.start_type == start_t::manual ) {
|
// if( FuelPump.start_type == start_t::manual ) {
|
||||||
// with manual pump control startup procedure is done only once per starter switch press
|
// with manual pump control startup procedure is done only once per starter switch press
|
||||||
|
|||||||
Reference in New Issue
Block a user