Skip to content

Commit

Permalink
Merge pull request #1076 from Ant-ON/try_h7_debug
Browse files Browse the repository at this point in the history
Bugfixes for compilation with clang
  • Loading branch information
Nightwalker-87 committed Dec 10, 2020
2 parents b414ddc + ddd82b5 commit 6329dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stlink-lib/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
unsigned time_ms() {
struct timeval tv;
gettimeofday(&tv, NULL);
return (unsigned)tv.tv_sec * 1000 + tv.tv_usec / 1000;
return (unsigned)(tv.tv_sec * 1000 + tv.tv_usec / 1000);
}

0 comments on commit 6329dbf

Please sign in to comment.