16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 21:49:19 +02:00

cooling fans state indicator, minor diesel engine logic tweaks

This commit is contained in:
tmj-fstate
2019-03-17 19:08:53 +01:00
parent 8d67338950
commit 04db86baa6
5 changed files with 25 additions and 9 deletions

View File

@@ -6135,12 +6135,13 @@ bool TMoverParameters::dizel_StartupCheck() {
// test the fuel pump
// TODO: add fuel pressure check
if( false == FuelPump.is_active ) {
if( ( RList[ MainCtrlPos ].R == 0.0 )
|| ( false == FuelPump.is_active ) ) {
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
dizel_startup = false;
}
// }
}
// test the oil pump
if( ( false == OilPump.is_active )