projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ab463
)
fix cases where there are multiple commands per packet including sends
author
Michael Gernoth
<michael@gernoth.net>
Sun, 23 Jun 2013 09:54:33 +0000
(11:54 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 23 Jun 2013 09:54:33 +0000
(11:54 +0200)
this allows hland to be used as lan adapter with a CCU or the windows
config software
hmland.c
patch
|
blob
|
blame
|
history
diff --git
a/hmland.c
b/hmland.c
index f3353f6c1d943def551c27b731ef1e654ae26a1b..eaf852154aad51d7859d93e128fba70b61967b3d 100644
(file)
--- a/
hmland.c
+++ b/
hmland.c
@@
-298,7
+298,7
@@
static int hmlan_parse_in(int fd, void *data)
memset(out, 0, sizeof(out));
*outpos++ = *inpos++;
- switch(
buf[0]
) {
+ switch(
*instart
) {
case 'S':
parse_part_in(&inpos, (last-(inpos-instart)), &outpos, (sizeof(out)-(outpos-out)), 0);
parse_part_in(&inpos, (last-(inpos-instart)), &outpos, (sizeof(out)-(outpos-out)), 0);
Impressum
,
Datenschutz