freemyipod r36 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r35‎ | r36 | r37 >
Date:01:53, 6 August 2010
Author:theseven
Status:new
Tags:
Comment:
Fix LCD corruption caused by an overflowing USB buffer
Modified paths:
  • /embios/trunk/usb/usb_ch9.h (modified) (history)

Diff [purge]

Index: embios/trunk/usb/usb_ch9.h
@@ -151,6 +151,7 @@
152152 uint16_t wValue;
153153 uint16_t wIndex;
154154 uint16_t wLength;
 155+ uint8_t safety[56];
155156 } __attribute__ ((packed));
156157
157158 /*-------------------------------------------------------------------------*/