usb: dfu: Signal completion of DFU

Generally when DFU is in progress, the system is not expected to
be doing anything else in addition. Hence, a completion signal
would help the system to know that DFU is over and it can proceed
towards next tasks.

Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
This commit is contained in:
Rajavardhan Gundi 2019-02-20 12:33:30 +05:30 committed by Anas Nashif
commit fa49e3e4c7
3 changed files with 68 additions and 0 deletions

View file

@ -119,4 +119,6 @@ enum dfu_state {
dfuERROR,
};
void wait_for_usb_dfu(void);
#endif /* ZEPHYR_INCLUDE_USB_CLASS_USB_DFU_H_ */