- Implemented defpos for multiple motors
- Implemented automatic backup on parameter change - Implemented silent restore - Cleaned a couple of unused flags from connection object
This commit is contained in:
@@ -963,15 +963,18 @@ static int ParseVar(pTASdata pTAS, char *pBueffel, SConnection *pCon)
|
||||
{
|
||||
VarSetFloat(pTAS->tasPar[lastVar],atof(pToken),
|
||||
usInternal);
|
||||
SCparChange(pCon);
|
||||
}
|
||||
else if(vt == veInt)
|
||||
{
|
||||
VarSetInt(pTAS->tasPar[lastVar],
|
||||
(int)atof(pToken), usInternal);
|
||||
SCparChange(pCon);
|
||||
}
|
||||
else
|
||||
{
|
||||
pTAS->tasPar[lastVar]->text = strdup(pToken);
|
||||
pTAS->tasPar[lastVar]->text = strdup(pToken);
|
||||
SCparChange(pCon);
|
||||
}
|
||||
lastVar++;
|
||||
}
|
||||
@@ -1000,11 +1003,13 @@ static int ParseVar(pTASdata pTAS, char *pBueffel, SConnection *pCon)
|
||||
{
|
||||
VarSetFloat(pTAS->tasPar[lastVar],atof(pToken),
|
||||
usInternal);
|
||||
SCparChange(pCon);
|
||||
}
|
||||
else if(vt == veInt)
|
||||
{
|
||||
VarSetInt(pTAS->tasPar[lastVar],
|
||||
(int)atof(pToken),usInternal);
|
||||
SCparChange(pCon);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user