projects
/
visomat-utils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d3986
)
visomat-data-downloader: improve wording in a comment
author
Antonio Ospite <ao2@ao2.it>
Wed, 14 Sep 2016 10:16:22 +0000
(12:16 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 14 Sep 2016 10:16:22 +0000
(12:16 +0200)
src/visomat-data-downloader.c
patch
|
blob
|
history
diff --git
a/src/visomat-data-downloader.c
b/src/visomat-data-downloader.c
index
b471dc9
..
bc9ec90
100644
(file)
--- a/
src/visomat-data-downloader.c
+++ b/
src/visomat-data-downloader.c
@@
-304,7
+304,7
@@
static int get_response(libusb_device_handle *dev,
} while (buffer[i - 1] != ETX && i < len);
- /* Check
the buffer i
s a valid response packet */
+ /* Check
if the buffer contain
s a valid response packet */
if (buffer[0] != STX || buffer[i - 1] != ETX)
return -EINVAL;