mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 04:39:18 +02:00
Inicjacja wszystkich zapomnianych zmiennych w hamulcach
This commit is contained in:
@@ -113,6 +113,12 @@ bool iSetFlag(int &Flag, int Value)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UnSetFlag(int &Flag, int Value)
|
||||
{
|
||||
Flag &= ~Value;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool FuzzyLogic(double Test, double Threshold, double Probability)
|
||||
{
|
||||
if ((Test > Threshold) && (!DebugModeFlag))
|
||||
|
||||
Reference in New Issue
Block a user