mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 06:59:18 +02:00
Added full analog input from Pokeys for EIMCtrlType==0
This commit is contained in:
committed by
tmj-fstate
parent
e76bc97b55
commit
0f22f24eb7
@@ -7112,7 +7112,8 @@ void TMoverParameters::CheckEIMIC(double dt)
|
||||
switch (EIMCtrlType)
|
||||
{
|
||||
case 0:
|
||||
eimic = (LocalBrakeRatio() > 0.01 ? -LocalBrakeRatio() : (double)MainCtrlPos / (double)MainCtrlPosNo);
|
||||
eimic = (LocalBrakeRatio() > 0.01 ? -LocalBrakeRatio() :
|
||||
eimic_analog > 0.01 ? eimic_analog : (double)MainCtrlPos / (double)MainCtrlPosNo);
|
||||
if (EIMCtrlAdditionalZeros || EIMCtrlEmergency)
|
||||
{
|
||||
if (eimic > 0.001)
|
||||
|
||||
Reference in New Issue
Block a user