Skip to content

Commit

Permalink
ztimer_periodic: fix example in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Sep 29, 2023
1 parent b45cb32 commit 278d2c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sys/include/ztimer/periodic.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
* ```
* #include "ztimer/periodic.h"
*
* static void callback(void *arg)
* static bool callback(void *arg)
* {
* puts(arg);
*
* // keep the timer running
* return true;
* }
*
*
Expand Down

0 comments on commit 278d2c7

Please sign in to comment.