- Fixed a minor problem in poldizug
This commit is contained in:
@ -15,6 +15,10 @@
|
||||
|
||||
Revised: Mark Koennecke, October 2000
|
||||
Revised: Mark Koennecke, July 2001
|
||||
|
||||
This is defunct as of 2009.
|
||||
|
||||
Mark Koennecke, March 2009
|
||||
----------------------------------------------------------------------------*/
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
@ -520,7 +520,7 @@ int MakePoldiReiss(SConnection * pCon, SicsInterp * pSics,
|
||||
self->maxPos = atof(argv[7]);
|
||||
self->iMode = FORCE;
|
||||
self->state = OFF;
|
||||
self->velocity = 10;
|
||||
self->velocity = 2;
|
||||
PZRCommand(self->controller, pCon, "wr mode 0\r\n", reply, 79);
|
||||
|
||||
AddCommand(pSics, argv[1], PoldiReissAction, killPoldiZug, self);
|
||||
|
11
sinqhttp.c
11
sinqhttp.c
@ -555,6 +555,9 @@ static HistInt *SinqHttpSubSample(pHistDriver self, SConnection * pCon,
|
||||
|
||||
status = sinqHttpGet(pPriv, command);
|
||||
if (status != 1) {
|
||||
if(pCon != NULL){
|
||||
SCPrintf(pCon,eError,"ERROR: subsampling failed with %s", pPriv->hmError);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -695,3 +698,11 @@ pHistDriver CreateSinqHttpDriver(pStringDict pOption)
|
||||
|
||||
return pNew;
|
||||
}
|
||||
/*-------------------------------------------------------------------------*/
|
||||
int isSINQHTTP(pHistDriver self){
|
||||
if(self->Start == SinqHttpStart){
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user