git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules/USB - Cleanup mostly
[tpg/acess2.git]
/
Modules
/
USB
/
Core
/
usb_lowlevel.c
diff --git
a/Modules/USB/Core/usb_lowlevel.c
b/Modules/USB/Core/usb_lowlevel.c
index
99423a7
..
65365d3
100644
(file)
--- a/
Modules/USB/Core/usb_lowlevel.c
+++ b/
Modules/USB/Core/usb_lowlevel.c
@@
-132,6
+132,8
@@
char *USB_int_GetDeviceString(tUSBDevice *Dev, int Endpoint, int Index)
// }
src_len = (str.Length - 2) / sizeof(str.Data[0]);
+ LOG("&str = %p, src_len = %i", &str, src_len);
+
new_len = _UTF16to8(str.Data, src_len, NULL);
ret = malloc( new_len + 1 );
_UTF16to8(str.Data, src_len, ret);
UCC
git Repository :: git.ucc.asn.au