diff options
-rw-r--r-- | common/console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c index c7f32434310..f38f71f819b 100644 --- a/common/console.c +++ b/common/console.c @@ -16,6 +16,7 @@ #include <stdio_dev.h> #include <exports.h> #include <environment.h> +#include <watchdog.h> DECLARE_GLOBAL_DATA_PTR; @@ -294,6 +295,7 @@ int fgetc(int file) * Effectively poll for input wherever it may be available. */ for (;;) { + WATCHDOG_RESET(); /* * Upper layer may have already called tstc() so * check for that first. |