rename tud_dfu_set_timeout_cb() to tud_dfu_get_status_cb()
also add state as argument
This commit is contained in:
@@ -48,10 +48,10 @@
|
||||
// alt is used as the partition number, in order to support multiple partitions like FLASH, EEPROM, etc.
|
||||
bool tud_dfu_firmware_valid_check_cb(uint8_t alt);
|
||||
|
||||
// Invoked when a DFU_GETSTATUS request is received in DFU_DNBUSY state
|
||||
// Used to set the bwPollTimeout value, useful for slow Flash in order to make host wait longer
|
||||
// Invoked when a DFU_GETSTATUS request is received
|
||||
// Return the bwPollTimeout value for host's response, useful for slow Flash in order to make host wait longer
|
||||
// alt is used as the partition number, in order to support multiple partitions like FLASH, EEPROM, etc.
|
||||
TU_ATTR_WEAK uint16_t tud_dfu_set_timeout_cb(uint8_t alt);
|
||||
TU_ATTR_WEAK uint32_t tud_dfu_get_status_cb(uint8_t alt, uint8_t state);
|
||||
|
||||
// Invoked when a DFU_DNLOAD request is received
|
||||
// alt is used as the partition number, in order to support multiple partitions like FLASH, EEPROM, etc.
|
||||
|
||||
Reference in New Issue
Block a user