zy1000: fix keep_alive() bug
introduced in latest commit. Should have held off merging that commit. Sigh.... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
31b050108a
commit
812e21ac39
|
@ -205,6 +205,8 @@ void zy1000_reset(int trst, int srst)
|
|||
|
||||
total = timeval_ms() - start;
|
||||
|
||||
keep_alive();
|
||||
|
||||
if (total > 5000)
|
||||
{
|
||||
LOG_ERROR("SRST took too long to deassert: %dms", (int)total);
|
||||
|
|
Loading…
Reference in New Issue