Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Thursday, February 21st, 2008 at 11:29:13am UTC 

  1. Index: firmware/usbstack/usb_storage.c
  2. ===================================================================
  3. --- firmware/usbstack/usb_storage.c     (revision 16361)
  4. +++ firmware/usbstack/usb_storage.c     (working copy)
  5. @@ -363,9 +363,9 @@
  6.      switch (req->bRequest) {
  7.          case USB_BULK_GET_MAX_LUN: {
  9. -            *max_lun = 0;
  10. +            max_lun[0] = 0;
  11.  #else
  12. -            *max_lun = NUM_VOLUMES - 1;
  13. +            max_lun[0] = NUM_VOLUMES - 1;
  14.  #endif
  15.  #ifdef HAVE_HOTSWAP
  16.              /* Workaround until we find out how to do removable devices properly */


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus