Skip to content

Commit

Permalink
init for interval()
Browse files Browse the repository at this point in the history
  • Loading branch information
dora2-iOS committed Apr 6, 2022
1 parent d63f541 commit db9bdae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ int enter_dfu_via_recovery(io_client_t client)
printf("\x1b[32m[STEP1] Press <enter> key\x1b[39m >> ");
getchar();

// initialization for interval()
cpuTime = clock();

printf("\n");
LOG("[STEP2] Press and hold the Side and %ss together (%dsec)", btn, step2_sec);
int j=0;
Expand Down

0 comments on commit db9bdae

Please sign in to comment.