wait 100ms after application switch
This commit is contained in:
parent
3acd88c11c
commit
7aa4456607
@ -189,6 +189,9 @@ int twb_open(struct twiboot *twb)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* wait for watchdog and startup time */
|
||||||
|
usleep(100000);
|
||||||
|
|
||||||
if (twb_read_version(twb)) {
|
if (twb_read_version(twb)) {
|
||||||
fprintf(stderr, "failed to get bootloader version: %s\n", strerror(errno));
|
fprintf(stderr, "failed to get bootloader version: %s\n", strerror(errno));
|
||||||
twb_close(twb);
|
twb_close(twb);
|
||||||
|
Loading…
Reference in New Issue
Block a user