Properly set length field for controller ACK

This commit is contained in:
redfast00 2022-01-17 18:30:59 +01:00
parent fa75edfc44
commit b1008d6a4b
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C

View file

@ -229,6 +229,7 @@ void send(struct message *msg) {
case OBUS_PAYLDTYPE_MODULEADDR:
send_frame.data[1] = msg->payload_address.type;
send_frame.data[2] = msg->payload_address.id;
length = 3;
break;
case OBUS_PAYLDTYPE_INFOSTART: