X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Ffastboot.c;h=1b4215114d7e5d7e7393667f9b3365457fa07459;hb=80d37c7959672aeba9e170844b3b1d3284aa7090;hp=0be83b78ac130fda28873596fcee64274913f516;hpb=a06955ae1ef2a942f18025d4fefceea2c638a76f;p=oweals%2Fu-boot.git diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 0be83b78ac..1b4215114d 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -13,6 +13,7 @@ #include #include #include +#include static int do_fastboot_udp(int argc, char *const argv[], uintptr_t buf_addr, size_t buf_size) @@ -74,6 +75,7 @@ static int do_fastboot_usb(int argc, char *const argv[], break; if (ctrlc()) break; + WATCHDOG_RESET(); usb_gadget_handle_interrupts(controller_index); }