diff --git a/sys/include/ztimer/periodic.h b/sys/include/ztimer/periodic.h index c06c648787b4..f2d5c1f13c5e 100644 --- a/sys/include/ztimer/periodic.h +++ b/sys/include/ztimer/periodic.h @@ -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; * } * *