GetResponse returns true if there was a problem

main
Tom Early 4 years ago
parent 88e91e9d03
commit 57edaf285f

@ -466,7 +466,7 @@ void CDV3003::ReadDevice()
continue; // nothing to read, try again continue; // nothing to read, try again
dv3003_packet p; dv3003_packet p;
if (GetResponse(p)) if (! GetResponse(p))
{ {
#ifdef DEBUG #ifdef DEBUG
dump("Got Response:", &p, packet_size(p)); dump("Got Response:", &p, packet_size(p));

Loading…
Cancel
Save

Powered by TurnKey Linux.