mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 13:35:26 +01:00
1bcaf7797c
SecuritySystemCheck() reads ShuntMode in every step of every vehicle, to switch the vigilance device of the vehicles with AwareOffInShuntMode (set_shunt_mode()). ShuntMode lay with ShuntModeAllow on a line of the cache of its own, before the table of the diesel-electric drive (DElist), which nothing else of the step reads for most vehicles: 1.35 % of the main thread on Tomaszewo at that one load. It is declared right before SecuritySystem now, whose update reads the same line. Only the place of the member changes.