mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 11:39:19 +02:00
experimental et42 uart dynamic brake fix
This commit is contained in:
@@ -2064,6 +2064,16 @@ bool TMoverParameters::DecScndCtrl(int CtrlSpeed)
|
||||
return OK;
|
||||
}
|
||||
|
||||
int TMoverParameters::GetVirtualScndPos()
|
||||
{
|
||||
if (TrainType == dt_ET42)
|
||||
{
|
||||
if (DynamicBrakeFlag && !ScndCtrlPos)
|
||||
return -1;
|
||||
}
|
||||
return ScndCtrlPos;
|
||||
}
|
||||
|
||||
// *************************************************************************************************
|
||||
// Q: 20160710
|
||||
// załączenie rozrządu
|
||||
|
||||
Reference in New Issue
Block a user