diff --git a/Artnet/Sender.h b/Artnet/Sender.h index 69acea6..bb6f6e5 100644 --- a/Artnet/Sender.h +++ b/Artnet/Sender.h @@ -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) { diff --git a/README.md b/README.md index bc2837b..d20bfb2 100644 --- a/README.md +++ b/README.md @@ -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);