Browse Source

wait 100ms after application switch

pull/1/head
Olaf Rempel 9 years ago
parent
commit
7aa4456607
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/twb.c

+ 3
- 0
linux/twb.c View File

@@ -189,6 +189,9 @@ int twb_open(struct twiboot *twb)
return -1;
}

/* wait for watchdog and startup time */
usleep(100000);

if (twb_read_version(twb)) {
fprintf(stderr, "failed to get bootloader version: %s\n", strerror(errno));
twb_close(twb);

Loading…
Cancel
Save