- Switched motor to hdb
- Changes to Hipadaba - Added project to histogram memory code - Started regression testing code - Added hill climbing as optimization method to optimise
This commit is contained in:
15
nxutil.c
15
nxutil.c
@ -28,8 +28,9 @@
|
||||
int iRet;
|
||||
|
||||
/* Find the motor */
|
||||
strtolower(pName);
|
||||
pMot = FindMotor(pSics,pName);
|
||||
strncpy(pBueffel,pName,511);
|
||||
strtolower(pBueffel);
|
||||
pMot = FindMotor(pSics,pBueffel);
|
||||
if(!pMot)
|
||||
{
|
||||
sprintf(pBueffel,"WARNING: cannot find motor %s",pName);
|
||||
@ -58,8 +59,9 @@
|
||||
int iRet;
|
||||
|
||||
/* Find the motor */
|
||||
strtolower(pName);
|
||||
pMot = FindMotor(pSics,pName);
|
||||
strncpy(pBueffel,pName,511);
|
||||
strtolower(pBueffel);
|
||||
pMot = FindMotor(pSics,pBueffel);
|
||||
if(!pMot)
|
||||
{
|
||||
sprintf(pBueffel,"WARNING: cannot find motor %s",pName);
|
||||
@ -95,8 +97,9 @@
|
||||
char *pText = NULL;
|
||||
|
||||
/* find it */
|
||||
strtolower(pName);
|
||||
pVar = FindVariable(pSics,pName);
|
||||
strncpy(pBueffel,pName,511);
|
||||
strtolower(pBueffel);
|
||||
pVar = FindVariable(pSics,pBueffel);
|
||||
if(!pVar)
|
||||
{
|
||||
sprintf(pBueffel,"WARNING: cannot find variable %s",pName);
|
||||
|
Reference in New Issue
Block a user