X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm920t.c;h=10428a65c9e1db7a5a5bb628a85bb9c6c98d690d;hb=84df52f9ea78e2d71bde648a16b69d80404c6421;hp=bf099e9dea1dd0d35e997f888a766769839267b3;hpb=3813fda44adcea486b7308423a699f63d79273ee;p=fw%2Fopenocd diff --git a/src/target/arm920t.c b/src/target/arm920t.c index bf099e9de..10428a65c 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -572,9 +572,9 @@ int arm920t_soft_reset_halt(struct target_s *target) return retval; } - long long then=timeval_ms(); + long long then = timeval_ms(); int timeout; - while (!(timeout=((timeval_ms()-then)>1000))) + while (!(timeout = ((timeval_ms()-then)>1000))) { if (buf_get_u32(dbg_stat->value, EICE_DBG_STATUS_DBGACK, 1) == 0) {