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:
Øyvind Harboe 2010-05-04 12:28:05 +02:00
parent 31b050108a
commit 812e21ac39
1 changed files with 2 additions and 0 deletions

View File

@ -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);