Commit b925e0f6 authored by Aurelio Colosimo's avatar Aurelio Colosimo

uncommented pp_memcpy using PP_FLAG_FIELD_LENGTH (was not defined in the past)

parent 0b4996ec
......@@ -18,7 +18,7 @@ void msg_unpack_header(struct pp_instance *ppi, void *buf)
hdr->messageLength = htons(*(UInteger16 *) (buf + 2));
hdr->domainNumber = (*(UInteger8 *) (buf + 4));
/* pp_memcpy(hdr->flagField, (buf + 6), FIXME:FLAG_FIELD_LENGTH); */
pp_memcpy(hdr->flagField, (buf + 6), PP_FLAG_FIELD_LENGTH);
pp_memcpy(&hdr->correctionfield.msb, (buf + 8), 4);
pp_memcpy(&hdr->correctionfield.lsb, (buf + 12), 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment