From 57edaf285f26805e68bbeb984f41f3b29d694970 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Thu, 23 Dec 2021 10:34:20 -0700 Subject: [PATCH] GetResponse returns true if there was a problem --- DV3003.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DV3003.cpp b/DV3003.cpp index ad53ed7..af32a8f 100644 --- a/DV3003.cpp +++ b/DV3003.cpp @@ -466,7 +466,7 @@ void CDV3003::ReadDevice() continue; // nothing to read, try again dv3003_packet p; - if (GetResponse(p)) + if (! GetResponse(p)) { #ifdef DEBUG dump("Got Response:", &p, packet_size(p));