Skip to content

Commit

Permalink
Re-add comment about the callback in DmxInput.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kripton committed Dec 9, 2021
1 parent a7f622a commit dd7a31d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DmxInput.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class DmxInput
/*
Start async read process. This should only be called once.
From then on, the buffer will always contain the latest DMX data.
If you want to be notified whenever a new DMX frame has been received,
provide a callback function that will be called without arguments.
*/
void read_async(volatile uint8_t *buffer, void (*inputUpdatedCallback)(void) = nullptr);

Expand Down

0 comments on commit dd7a31d

Please sign in to comment.