Files
OpenCellular/common/timer.c
Simon Glass 427005489f Allow repeated waitms commands without resetting
At present issuing several 'waitms 1000' commands immediately after each
other trips the watchdog. Add a watchdog reload to avoid this.

Also document the behaviour in the command help.

BUG=b:72542719
BRANCH=none
TEST=manually on grunt, pasting these three lines in:
  waitms 1000
  waitms 1000
  waitms 1000
and see that it does not reset now.
Change-Id: I453708299e4e26c1bbdb5fc406f26e916e7389af
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/955927
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Martin Roth <martinroth@chromium.org>
2018-03-08 19:28:50 -08:00

7.9 KiB