diff options
author | David Chiu <dchiu@synaptics.com> | 2022-03-14 17:35:37 +0800 |
---|---|---|
committer | David Chiu <dchiu@synaptics.com> | 2022-03-14 17:35:37 +0800 |
commit | 0c81a558280f9f2b9e414c4908c699ac4ec6aa29 (patch) | |
tree | 10e2632a7972b3e76c57108f3cafaf3a6e236af7 | |
parent | aa18b07911a0e53a8d2072d76fc44ad488bc1d90 (diff) | |
download | rmi4utils-0c81a558280f9f2b9e414c4908c699ac4ec6aa29.tar.gz |
Remove duplicated debugging message
-rwxr-xr-x | rmidevice/hiddevice.cpp | 8 |
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; } |