<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: Bug Report: Minor errors in USB Host code</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bug-Report-Minor-errors-in-USB-Host-code/m-p/326252#M10399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this, this will be fixed in next release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2014 05:26:19 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2014-07-31T05:26:19Z</dc:date>
    <item>
      <title>Bug Report: Minor errors in USB Host code</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bug-Report-Minor-errors-in-USB-Host-code/m-p/326251#M10398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm reviewing the changes in MQX 4.1.0 and spotted a couple of minor errors in the USB host code - (actually I am using v4.8.4 of the GCC compiler and these come out as warnings):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usb_host_msd_bo.c Line 109 -&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14067603214233103" jivemacro_uid="_14067603214233103"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; USB_mem_zero(intf_ptr, sizeof(USB_MASS_CLASS_INTF_STRUCT_PTR));&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like this is a typo - the intp_ptr is a pointer to a USB_MASS_CLASS_INTF_STRUCT, so it looks like the intention was that the whole structure be zeroed, where as in reality only the first 4 bytes are being zeroed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same thing in usb_host_printer.c at Line 468&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14067603214137193" jivemacro_uid="_14067603214137193"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; USB_mem_zero (prt_intf,sizeof(PRINTER_INTERFACE_STRUCT_PTR));&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think these are going to cause any problems, but I figured if you are still using version 4.7 of the compiler you might not have see these, and they look like quick and easy fixes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 22:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bug-Report-Minor-errors-in-USB-Host-code/m-p/326251#M10398</guid>
      <dc:creator>chrissolomon</dc:creator>
      <dc:date>2014-07-30T22:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report: Minor errors in USB Host code</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Bug-Report-Minor-errors-in-USB-Host-code/m-p/326252#M10399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this, this will be fixed in next release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 05:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Bug-Report-Minor-errors-in-USB-Host-code/m-p/326252#M10399</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-07-31T05:26:19Z</dc:date>
    </item>
  </channel>
</rss>

