This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has posted comments on this change. ( https://gerrit.osmocom.org/12505 ) Change subject: declare variables so the main loop can read the data to be flashed provided by the USB stack ...................................................................... Patch Set 1: Code-Review+2 (1 comment) https://gerrit.osmocom.org/#/c/12505/1/usb/class/dfu/device/dfudf.c File usb/class/dfu/device/dfudf.c: https://gerrit.osmocom.org/#/c/12505/1/usb/class/dfu/device/dfudf.c@37 PS1, Line 37: enum usb_dfu_state dfu_state = USB_DFU_STATE_DFU_IDLE; : enum usb_dfu_status dfu_status = USB_DFU_STATUS_OK; : : uint8_t dfu_download_data[512]; : uint16_t dfu_download_length = 0; : size_t dfu_download_progress = 0; : bool dfu_manifestation_complete = false; 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. -- To view, visit https://gerrit.osmocom.org/12505 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-asf4-dfu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I092357aad95abef1a781be1ea77944f2ea523dab Gerrit-Change-Number: 12505 Gerrit-PatchSet: 1 Gerrit-Owner: Kévin Redon <kredon at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Comment-Date: Fri, 11 Jan 2019 17:15:02 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: Yes -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190111/59b4e32b/attachment.htm>