All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4l-utils] ir-ctl: correct max_size for rc5 and rc5_sz
@ 2024-04-19  9:36 Sean Young
  0 siblings, 0 replies; only message in thread
From: Sean Young @ 2024-04-19  9:36 UTC (permalink / raw)
  To: linux-media

These protocols can produce more edges.

Signed-off-by: Sean Young <sean@mess.org>
---
 utils/common/ir-encode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c
index 4d43eb9d..5501778d 100644
--- a/utils/common/ir-encode.c
+++ b/utils/common/ir-encode.c
@@ -379,9 +379,9 @@ static const struct {
 } protocols[] = {
 	[RC_PROTO_UNKNOWN] = { "unknown" },
 	[RC_PROTO_OTHER] = { "other" },
-	[RC_PROTO_RC5] = { "rc5", 0x1f7f, 24, 36000, rc5_encode },
+	[RC_PROTO_RC5] = { "rc5", 0x1f7f, 25, 36000, rc5_encode },
 	[RC_PROTO_RC5X_20] = { "rc5x_20", 0x1f7f3f, 40, 36000, rc5_encode },
-	[RC_PROTO_RC5_SZ] = { "rc5_sz", 0x2fff, 26, 36000, rc5_encode },
+	[RC_PROTO_RC5_SZ] = { "rc5_sz", 0x2fff, 27, 36000, rc5_encode },
 	[RC_PROTO_SONY12] = { "sony12", 0x1f007f, 25, 40000, sony_encode },
 	[RC_PROTO_SONY15] = { "sony15", 0xff007f, 31, 40000, sony_encode },
 	[RC_PROTO_SONY20] = { "sony20", 0x1fff7f, 41, 40000, sony_encode },
-- 
2.44.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-19  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  9:36 [PATCH v4l-utils] ir-ctl: correct max_size for rc5 and rc5_sz Sean Young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.