Properly set length field for controller ACK
This commit is contained in:
parent
fa75edfc44
commit
b1008d6a4b
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue