summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremiah McCarthy <[email protected]>2021-04-22 16:06:06 -0400
committerJeremiah McCarthy <[email protected]>2021-04-22 16:06:06 -0400
commit289af581bb796f730324ac663b3f20d57d03e487 (patch)
tree5511b12f24f30c8e08094c72d42bdea300604031
parent18e9d253e986670f77a0f15f687eec258011605f (diff)
Remove uunused code
-rw-r--r--src/class/dfu/dfu_device.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/class/dfu/dfu_device.h b/src/class/dfu/dfu_device.h
index e92935fd7..322cc6496 100644
--- a/src/class/dfu/dfu_device.h
+++ b/src/class/dfu/dfu_device.h
@@ -45,15 +45,6 @@ bool tud_dfu_firmware_valid_check_cb(void);
// Invoked when the device must reboot to dfu runtime mode
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
// to the status description string table.
TU_ATTR_WEAK uint8_t tud_dfu_get_status_desc_table_index_cb(void);