This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: ir-ctl: fix sharp encoding Author: Sean Young <s...@mess.org> Date: Fri Oct 6 15:28:17 2023 +0100 The Sharp protocol[1] encoding has incorrect timings for bit space. [1] https://www.sbprojects.net/knowledge/ir/sharp.php Reported-by: Joe Ferner <joe.m.fer...@gmail.com> Closes: https://sourceforge.net/p/lirc/mailman/message/38604507/ Signed-off-by: Sean Young <s...@mess.org> utils/common/ir-encode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=e77d513ecff8d085c388f95894363f946f92a3fe diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c index b3757e12287b..4d43eb9d2e55 100644 --- a/utils/common/ir-encode.c +++ b/utils/common/ir-encode.c @@ -144,9 +144,9 @@ static void sharp_add_bits(unsigned **buf, int bits, int count) *(*buf)++ = NS_TO_US(sharp_unit * 8); if (bits & (1 << i)) - *(*buf)++ = NS_TO_US(sharp_unit * 50); + *(*buf)++ = NS_TO_US(sharp_unit * 42); else - *(*buf)++ = NS_TO_US(sharp_unit * 25); + *(*buf)++ = NS_TO_US(sharp_unit * 17); } } _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits