Skip to content

Commit

Permalink
fix: signature of set_subkey()
Browse files Browse the repository at this point in the history
  • Loading branch information
hideakitai committed Jan 4, 2024
1 parent 5a9c17b commit e80fc8e
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 e80fc8e

Please sign in to comment.