mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 11:29:18 +02:00
Merge branch 'master' of https://github.com/firleju/maszyna
This commit is contained in:
@@ -177,6 +177,7 @@ double Global::fCalibrateOut[7][6] = {{0, 1, 0, 0, 0, 0},
|
||||
{0, 1, 0, 0, 0, 0}};
|
||||
double Global::fCalibrateOutMax[7] = {0, 0, 0, 0, 0, 0, 0};
|
||||
int Global::iCalibrateOutDebugInfo = -1;
|
||||
int Global::iPoKeysPWM[7] = {0, 1, 2, 3, 4, 5, 6};
|
||||
// parametry przejœciowe (do usuniêcia)
|
||||
// bool Global::bTimeChange=false; //Ra: ZiomalCl wy³¹czy³ star¹ wersjê nocy
|
||||
// bool Global::bRenderAlpha=true; //Ra: wywali³am tê flagê
|
||||
@@ -501,6 +502,12 @@ void Global::ConfigParse(TQueryParserComp *qp, cParser *cp)
|
||||
}
|
||||
else if (str == AnsiString("calibrateoutdebuginfo")) // wyjœcie z info o przebiegu kalibracji
|
||||
iCalibrateOutDebugInfo = GetNextSymbol().ToInt();
|
||||
else if (str == AnsiString("pwm")) // zmiana numerów wyjœæ PWM
|
||||
{
|
||||
int pwm_out = GetNextSymbol().ToInt();
|
||||
int pwm_no = GetNextSymbol().ToInt();
|
||||
iPoKeysPWM[pwm_out] = pwm_no;
|
||||
}
|
||||
else if (str == AnsiString("brakestep")) // krok zmiany hamulca dla klawiszy [Num3] i [Num9]
|
||||
fBrakeStep = GetNextSymbol().ToDouble();
|
||||
else if (str ==
|
||||
@@ -912,5 +919,4 @@ double Global::CutValueToRange(double min, double value, double max)
|
||||
return value;
|
||||
};
|
||||
|
||||
|
||||
#pragma package(smart_init)
|
||||
|
||||
Reference in New Issue
Block a user