diff mbox series

[v4l-utils] ir-ctl: correct max_size for rc5 and rc5_sz

Message ID 20240419093636.223925-1-sean@mess.org (mailing list archive)
State New, archived
Headers show
Series [v4l-utils] ir-ctl: correct max_size for rc5 and rc5_sz | expand

Commit Message

Sean Young April 19, 2024, 9:36 a.m. UTC
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 mbox series

Patch

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 },