mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 12:16:02 +01:00
Merge pull request #280 from MaSzyna-EU07/feat/radio-fuse
Radio fuse: a cut-off in the radio's power supply (eu07/maszyna#438)
This commit is contained in:
@@ -3146,7 +3146,7 @@ void TMoverParameters::SecuritySystemCheck(double dt)
|
||||
bool isPower = Power24vIsAvailable || Power110vIsAvailable;
|
||||
SecuritySystem.update(dt, Vel, isPower, CabActive);
|
||||
|
||||
if (!Battery || !Radio)
|
||||
if (!Battery || !Radio || !RadioFuse)
|
||||
{ // wyłączenie baterii deaktywuje sprzęt
|
||||
RadiostopSwitch(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user