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

@ -581,6 +581,7 @@ void *ANETreadPtr(int handle, int *length)
con = findSocketDescriptor(handle);
if (con == NULL) {
*length = 0;
return NULL;
} else {
data = GetRWBufferData(con->readBuffer, length);