Skip to contentSkip to conversation

ir-ctl: correct max_size for rc5 and rc5_sz

PATCH New Sean Young 1 participant 1 message Apr 19, 2024 Media (V4L/DVB)

lore
Share & tools
lore

Sean Young

author
#0 lore raw

PATCH 1/1 ir-ctl: correct max_size for rc5 and rc5_sz

These protocols can produce more edges.

---
 utils/common/ir-encode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utils/common/ir-encode.c +2 -2
index 4d43eb9d..5501778d 100644
@@ -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 },
Signature · 1 line
2.44.0