Closed wwatson4506 closed 3 years ago
I see there's one Serial.printf() in this patch. Is than intentional?
There is one Serial.printf() added to MassStoragedriver..cpp in this patch. Line #564. There are several others previously used before the patch. This was in msProcessError().
Ok, fine for now. Before a non-beta 1.54 release, these Serial.print should be turned into the libraries print & println, so they only stuff is USBHost_t36.h has been edited to turn on verbose printing.
Ok. will do it. When I started thinking about it I suspected that was what the question was about.
Thanks
Paul, I have updated the msProcessError() method so that external processing sense codes can be parsed and displayed as descriptive error strings using a sense key, additional sense codes and additional sense code qualifiers. I also modified msReset() and msGetMaxLun() methods to use an interface number with wIndex in mk_setup(). In an email I received hathach mentioned that wIndex should be set to an interface number. So far with the bNumInterfaces at 1 and bInterfaceNumber at 0. I'm not sure if this only applies to just the control pipe. Link is here: https://github.com/PaulStoffregen/USBHost_t36/pull/42#discussion_r583694595.