Skip to content

Commit

Permalink
Merge pull request #77 from hideakitai/fix/signature-of-set_subkey
Browse files Browse the repository at this point in the history
fix: signature of set_subkey()
  • Loading branch information
hideakitai authored Jan 4, 2024
2 parents 5a9c17b + e80fc8e commit 7de25db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 7de25db

Please sign in to comment.