Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer authored Nov 7, 2024
1 parent f956cae commit 2d7f024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ void main(void)
...
while (1) {
float fUsage = 0.0f;
__cpu_usage__(10, {
fUsage = __usage__; /*< "__usage__" stores the result */
float fUsage = __usage__; /*< "__usage__" stores the result */
printf("task 1 cpu usage %3.2f %%\r\n", (double)fUsage);
}) {
delay_us(30000);
}
printf("task 1 cpu usage %3.2f %%\r\n", (double)fUsage);
delay_us(70000);
}
Expand Down

0 comments on commit 2d7f024

Please sign in to comment.