Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

Commit f53916d

Browse files
committed
Small README update based on callback overloads
1 parent 7725517 commit f53916d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ EventQueue queue(32*EVENTS_EVENT_SIZE);
4444
// Events can be posted to the underlying event queue with dynamic
4545
// context allocated from the specified buffer
4646
queue.call(printf, "hello %d %d %d %d\n", 1, 2, 3, 4);
47-
queue.call(Callback<void()>(&serial, &Serial::printf), "hi\n");
47+
queue.call(&serial, &Serial::printf, "hi\n");
4848

4949
// The dispatch function provides the context for the running the queue
5050
// and can take a millisecond timeout to run for a fixed time or to just

0 commit comments

Comments
 (0)