From e80fc8e3225a3033431821d588e254119fed484e Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Thu, 4 Jan 2024 16:44:11 +0900 Subject: [PATCH] fix: signature of set_subkey() --- Artnet/Sender.h | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);