Explorar el Código

Remove uunused code

Jeremiah McCarthy hace 5 años
padre
commit
289af581bb
Se han modificado 1 ficheros con 0 adiciones y 9 borrados
  1. 0 9
      src/class/dfu/dfu_device.h

+ 0 - 9
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
 // 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);