Got homing sequenc to work, ....again
This commit is contained in:
@@ -56,7 +56,7 @@ FrameSubmitionResult GobotRPCParser::submit_frame(char *data, size_t length, uin
|
||||
// Push the update to the control interface
|
||||
ctrlInterface->pushPackageSlotUpdate(res == COMPLEATE, this->buffer[slotNum].is_in_use, slotNum, addr, timestamp, this->buffer[slotNum].used_bit_masked);
|
||||
|
||||
if (res == COMPLEATE) {
|
||||
y if (res == COMPLEATE) {
|
||||
this->buffer[slotNum].is_complete = true;
|
||||
}
|
||||
|
||||
@@ -118,6 +118,7 @@ void GobotRPCParser::retrivePackage(RPCPackage *dest, int index) {
|
||||
dest->type = buffer[index].type;
|
||||
dest->length = buffer[index].length;
|
||||
|
||||
this->ctrlInterface->pushPacket(*dest);
|
||||
freePackageSlot(index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user