First working verion of remote object

Fixed two bugs along the way:
- asynnet: ANETReadPtr now sets length to 0 if ther eis no data
- motorsec: if the motor does not start the status is set to error
This commit is contained in:
2015-05-20 08:55:49 +02:00
parent 6f0e2e01df
commit c60e9920c5
3 changed files with 65 additions and 35 deletions

View File

@@ -527,7 +527,7 @@ static hdbCallbackReturn SecMotorCallback(pHdb node, void *userData,
SCSetInterrupt(pCon, eAbortBatch);
self->pDrivInt->iErrorCount = 0;
child = GetHipadabaNode(self->pDescriptor->parNode, "status");
UpdateHipadabaPar(child, MakeHdbText("run"), pCon);
UpdateHipadabaPar(child, MakeHdbText("error"), pCon);
return hdbAbort;
}