mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Remove uunused code
This commit is contained in:
parent
18e9d253e9
commit
289af581bb
@ -45,15 +45,6 @@ bool tud_dfu_firmware_valid_check_cb(void);
|
|||||||
// Invoked when the device must reboot to dfu runtime mode
|
// Invoked when the device must reboot to dfu runtime mode
|
||||||
void tud_dfu_reboot_to_rt_cb(void);
|
void tud_dfu_reboot_to_rt_cb(void);
|
||||||
|
|
||||||
// Invoked during initialization of the dfu driver to set attributes
|
|
||||||
// Return byte set with bitmasks:
|
|
||||||
// DFU_FUNC_ATTR_CAN_DOWNLOAD_BITMASK
|
|
||||||
// DFU_FUNC_ATTR_CAN_UPLOAD_BITMASK
|
|
||||||
// DFU_FUNC_ATTR_MANIFESTATION_TOLERANT_BITMASK
|
|
||||||
// DFU_FUNC_ATTR_WILL_DETACH_BITMASK
|
|
||||||
// Note: This should match the USB descriptor
|
|
||||||
uint8_t tud_dfu_init_attrs_cb(void);
|
|
||||||
|
|
||||||
// Invoked during a DFU_GETSTATUS request to get for the string index
|
// Invoked during a DFU_GETSTATUS request to get for the string index
|
||||||
// to the status description string table.
|
// to the status description string table.
|
||||||
TU_ATTR_WEAK uint8_t tud_dfu_get_status_desc_table_index_cb(void);
|
TU_ATTR_WEAK uint8_t tud_dfu_get_status_desc_table_index_cb(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user