#include <malloc.h>
#include <common.h>
#include <g_dnl.h>
+#include <watchdog.h>
#include <linux/err.h>
#include <linux/usb/ch9.h>
if (common->thread_wakeup_needed)
break;
- if (++i == 50000) {
+ if (++i == 20000) {
busy_indicator();
i = 0;
k++;
if (ctrlc())
return -EPIPE;
+ WATCHDOG_RESET();
+
/* Check cable connection */
if (!g_dnl_board_usb_cable_connected())
return -EIO;