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

increase uart odometer precision

This commit is contained in:
milek7
2019-08-31 21:06:16 +02:00
parent 24186b2914
commit c4d43f5a0a
3 changed files with 3 additions and 3 deletions

View File

@@ -607,7 +607,7 @@ TTrain::get_state() const {
static_cast<float>( mvOccupied->BrakePress ),
fHVoltage,
{ fHCurrent[ ( mvControlled->TrainType & dt_EZT ) ? 0 : 1 ], fHCurrent[ 2 ], fHCurrent[ 3 ] },
(float)mvOccupied->DistCounter
mvOccupied->DistCounter
};
}