diff options
Diffstat (limited to 'usb/device/dfu/dfu.h')
-rw-r--r-- | usb/device/dfu/dfu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usb/device/dfu/dfu.h b/usb/device/dfu/dfu.h index 3cbcac5..ad64c99 100644 --- a/usb/device/dfu/dfu.h +++ b/usb/device/dfu/dfu.h @@ -112,14 +112,14 @@ const USBDDriverDescriptors dfu_descriptors; /* The API between the core DFU handler and the board/soc specific code */ -struct dfu { +struct dfudata { uint8_t status; uint32_t state; int past_manifest; unsigned int total_bytes; }; -extern struct dfu dfu; +extern struct dfudata g_dfu; void set_usb_serial_str(const uint8_t *serial_usbstr); /* call-backs by the board/SOC */ |