aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chiu <dchiu@synaptics.com>2022-03-14 17:35:37 +0800
committerDavid Chiu <dchiu@synaptics.com>2022-03-14 17:35:37 +0800
commit0c81a558280f9f2b9e414c4908c699ac4ec6aa29 (patch)
tree10e2632a7972b3e76c57108f3cafaf3a6e236af7
parentaa18b07911a0e53a8d2072d76fc44ad488bc1d90 (diff)
downloadrmi4utils-0c81a558280f9f2b9e414c4908c699ac4ec6aa29.tar.gz
Remove duplicated debugging message
-rwxr-xr-xrmidevice/hiddevice.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/rmidevice/hiddevice.cpp b/rmidevice/hiddevice.cpp
index 5bc7c99..1cef2e5 100755
--- a/rmidevice/hiddevice.cpp
+++ b/rmidevice/hiddevice.cpp
@@ -302,8 +302,6 @@ int HIDDevice::Read(unsigned short addr, unsigned char *buf, unsigned short len)
tv.tv_sec = 10 / 1000;
tv.tv_usec = (10 % 1000) * 1000;
-
- fprintf(stdout, "R %02x : ", addr);
if (!m_deviceOpen)
return -1;
@@ -399,12 +397,6 @@ Resend:
fprintf(stdout, "\n");
}
- for (int i=0 ; i<len ; i++) {
- fprintf(stdout, "%02x ", buf[i]);
- }
- fprintf(stdout, "\n");
-
-
return totalBytesRead;
}