Skip to content

Commit dd7a31d

Browse files
committed
Re-add comment about the callback in DmxInput.h
1 parent a7f622a commit dd7a31d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DmxInput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class DmxInput
8383
/*
8484
Start async read process. This should only be called once.
8585
From then on, the buffer will always contain the latest DMX data.
86+
If you want to be notified whenever a new DMX frame has been received,
87+
provide a callback function that will be called without arguments.
8688
*/
8789
void read_async(volatile uint8_t *buffer, void (*inputUpdatedCallback)(void) = nullptr);
8890

0 commit comments

Comments
 (0)