We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2e1867 commit 65ca1c7Copy full SHA for 65ca1c7
1 file changed
shared-module/_canio/Message.c
@@ -58,6 +58,7 @@ const void *common_hal_canio_message_data_get(const canio_message_obj_t *self)
58
59
const void common_hal_canio_message_data_set(canio_message_obj_t *self, const void *data, size_t size)
60
{
61
+ self->size = size;
62
memcpy(self->data, data, size);
63
}
64
0 commit comments