this would be the more correct parity value

git-svn-id: https://svn.openpcd.org:2342/trunk@468 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
This commit is contained in:
henryk 2008-03-18 16:10:37 +00:00
parent d2319edef0
commit bdadf6c151
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ static inline void end_frame(struct diffmiller_state * const state, const u_int3
append_to_frame(state, state->byte, 0, counter);
}
state->frame->parameters.a.parity = GIVEN_PARITY;
if(!state->crc)
state->frame->parameters.a.crc = CRC_OK;
else