- Made the HRPT temperature log lmd200 work

- Added a special el734hp which scales with 1000 for SANSLI
- Added another error to the magnet driver: magnet broken
This commit is contained in:
koennecke
2008-05-08 09:29:48 +00:00
parent 358c121b30
commit 5e96ae6939
7 changed files with 155 additions and 35 deletions

View File

@@ -132,15 +132,16 @@ static int takeControl(pDornier pDorn){
if(pDorn->statusMode == STATSEND){
if(!requestDornierStatus(pDorn)){
*fPos = -9999.;
return 0;
*fPos = -9999.;
return 0;
}
if(!readAndInterpretStatus(pDorn,&DStatus)){
*fPos = -9999.;
return 0;
*fPos = -9999.;
return 0;
}
pDorn->lastStatus = DStatus;
}
*fPos = pDorn->lastStatus.cur_rpm;
pDorn->fLastRPM = pDorn->lastStatus.cur_rpm;
return 1;