Replace the space in the "Environment Controller" type with an underscore so that it can be easily parsed as a single token.

r2157 | ffr | 2007-09-26 14:19:39 +1000 (Wed, 26 Sep 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-09-26 14:19:39 +10:00
committed by Douglas Clowes
parent 0b583db52f
commit 5322cb8254
2 changed files with 2 additions and 2 deletions

View File

@@ -1081,7 +1081,7 @@ static int ScanReflection(pMesure self, float twoTheta, SConnection *pCon)
/* get temperature */ /* get temperature */
fTemp = -777.77; fTemp = -777.77;
pEva = (pEVControl)FindCommandData(pServ->pSics,"temperature", pEva = (pEVControl)FindCommandData(pServ->pSics,"temperature",
"Environment Controller"); "Environment_Controller");
if(pEva == NULL) if(pEva == NULL)
{ {
pPtr = (pDummy)FindCommandData(pServ->pSics,"temperature", pPtr = (pDummy)FindCommandData(pServ->pSics,"temperature",

View File

@@ -56,7 +56,7 @@ char *pDeviceTypes[25] = {
"connection", "connection",
"crystalselector", "crystalselector",
"environment monitor", "environment monitor",
"environment controller", "environment_controller",
"gpib", "gpib",
"hklscan", "hklscan",
"hmcontrol", "hmcontrol",