freemyipod r235 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r234‎ | r235 | r236 >
Date:18:17, 30 October 2010
Author:theseven
Status:new
Tags:
Comment:
Oops, also set the other length correctly (hardwired for now)
Modified paths:
  • /embios/trunk/usb/usb.c (modified) (history)

Diff [purge]

Index: embios/trunk/usb/usb.c
@@ -284,7 +284,7 @@
285285 size = string_devicename.bLength;
286286 break;
287287 case 2:
288 - string_devicename.bLength = sizeof(string_devicename);
 288+ string_devicename.bLength = 32;
289289 addr = &string_devicename;
290290 size = string_devicename.bLength;
291291 break;