summaryrefslogtreecommitdiff
path: root/common/cmd_dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_dfu.c')
-rw-r--r--common/cmd_dfu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c
index ec90998..857148f 100644
--- a/common/cmd_dfu.c
+++ b/common/cmd_dfu.c
@@ -9,6 +9,7 @@
*/
#include <common.h>
+#include <watchdog.h>
#include <dfu.h>
#include <g_dnl.h>
#include <usb.h>
@@ -64,6 +65,7 @@ static int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (ctrlc())
goto exit;
+ WATCHDOG_RESET();
usb_gadget_handle_interrupts(controller_index);
}
exit: