Got homing sequenc to work, ....again

This commit is contained in:
AlexanderHD27
2025-01-01 16:47:53 +01:00
parent edc2dd6294
commit c136056ed2
36 changed files with 2464 additions and 9 deletions

View File

@@ -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);
}