<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +2</span></p><p><a href="https://gerrit.osmocom.org/12505">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12505/1/usb/class/dfu/device/dfudf.c">File usb/class/dfu/device/dfudf.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12505/1/usb/class/dfu/device/dfudf.c@37">Patch Set #1, Line 37:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">enum usb_dfu_state dfu_state = USB_DFU_STATE_DFU_IDLE;<br>enum usb_dfu_status dfu_status = USB_DFU_STATUS_OK;<br><br>uint8_t dfu_download_data[512];<br>uint16_t dfu_download_length = 0;<br>size_t dfu_download_progress = 0;<br>bool dfu_manifestation_complete = false;<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">you could wrapp all of these into some 'struct dfu_state' and then have one 'struct dfu_state g_dfu' or something like that to avoid cluttering lots of global symbols in the namespace.  But that's just a thought, nothing required.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12505">change 12505</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12505"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-asf4-dfu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I092357aad95abef1a781be1ea77944f2ea523dab </div>
<div style="display:none"> Gerrit-Change-Number: 12505 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 11 Jan 2019 17:15:02 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>