Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: signature of set_subkey() #77

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Artnet/Sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Sender_ {
void set_key(uint8_t key) {
art_trigger_ctx.set_key(key);
}
void set_oem(uint8_t subkey) {
void set_subkey(uint8_t subkey) {
art_trigger_ctx.set_subkey(subkey);
}
void set_payload(const uint8_t* const payload, uint16_t size) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ uint8_t sequence() const;
// ArtTrigger
void set_oem(uint16_t oem);
void set_key(uint8_t key);
void set_oem(uint8_t subkey);
void set_subkey(uint8_t subkey);
void set_payload(const uint8_t* const payload, uint16_t size);
// send ArtTrigger based on the config above
void trigger(const String& ip);
Expand Down
Loading