fixed calculation of the_end in ReadDVAPThread()

pull/1/head
Tom Early 9 years ago
parent 1ace589916
commit 44e557594b

@ -1187,7 +1187,7 @@ static void ReadDVAPThread()
} else if (reply == RT_DAT) {
/* have we already received a header ? */
if (dvap_busy) {
the_end = ((dr.frame.hdr.flag[0] & 0x40) == 0x40);
the_end = ((dr.frame.framepos & 0x40) == 0x40);
net_buf.nothing1[0] = ((C_COUNTER >> 8) & 0xff);
net_buf.nothing1[1] = (unsigned char)(C_COUNTER & 0xff);

Loading…
Cancel
Save

Powered by TurnKey Linux.