diff --git a/rtos/Thread.h b/rtos/Thread.h index 1b2883234d..296af31f16 100644 --- a/rtos/Thread.h +++ b/rtos/Thread.h @@ -54,7 +54,7 @@ namespace rtos { * * // Spawns a thread to run blink for 5 seconds * int main() { - * thread.start(led1, blink); + * thread.start(callback(blink, &led1)); * Thread::wait(5000); * running = false; * thread.join();