Skip to content

Commit 065560a

Browse files
committed
Fix ack status code to be uint8
1 parent bc29021 commit 065560a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/comms/comms.toit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class Comms:
248248
// ACK these messages...
249249
ack-msg := messages.ACK.msg --data=null
250250
ack-msg.header.data.add-data-uint32 protocol.Header.TYPE-RESPONSE-TO-MESSAGE-ID msg.msgId
251-
ack-msg.header.data.add-data-uint32 protocol.Header.TYPE_MESSAGE_STATUS protocol.Header.STATUS_OK
251+
ack-msg.header.data.add-data-uint8 protocol.Header.TYPE_MESSAGE_STATUS protocol.Header.STATUS_OK
252252
send-via-outbox ack-msg
253253

254254
isBad := msg.header.data.has-data protocol.Header.TYPE-MESSAGE-STATUS and msg.msg-status > 0

0 commit comments

Comments
 (0)